You are not logged in.
Pages: 1
Hi Team,
How can we enable file-logging for logs viewing purpose.
Do we need to configure the logback-rs.xml
----------------------------------------------------------------------------------------------
<configuration>
<contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
<resetJUL>true</resetJUL>
</contextListener>
<appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<logger name="com.businessobjects" level="inherited" />
<logger name="com.crystaldecisions" level="inherited" />
<logger name="com.crystaldecisions12" level="inherited" />
<logger name="org.eclipse.birt" level="inherited" />
<logger name="org.hibernate" level="inherited" />
<logger name="org.hibernate.jpa.internal.metamodel.MetadataContext" level="off" />
<logger name="net.datenwerke" level="info" />
<root level="error">
<appender-ref ref="stdout" />
</root>
</configuration>
Offline
Hi Gaurav,
i assume you are talking about reportserver log. There is many ways to do that, a simple one is to just create a dynamic list containing the interesting Logging entries (->error, ...) and send it via scheduler to whomever might be interested in the report. Adjust amount entries via JUEL expressions for the time window you want to look at (-> today, the last hour, ...) and adjust the Scheduling frequency to suit your needs.
wbr jan
Offline
Hi Jan,
My requirement is different. Want to know how to create log files for ReportServer application as it happens for any applications.
In the database in RS_AUDITLOG_ENTRY & RS_AUDITLOG_PROPERTY only minimum information is populated in case of error.
Couldn't figure out the root cause.
I hope you understand my concern.
Offline
Hi GauravKumar,
reportserver is already creating log files. These are located in the tomcat logs directory. Here you have more information on setting logging in reportserver: https://reportserver.net/en/tutorials/i … e/#logging
Regards,
Eduardo
Offline
Pages: 1