Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2017-11-10 07:17:27

GauravKumar
Member
Registered: 2017-05-26

Enable File logging for Logs

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

#2 2017-12-06 16:38:26

jalbrecht
Administrator
Registered: 2016-10-21

Re: Enable File logging for Logs

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

#3 2017-12-07 14:12:20

GauravKumar
Member
Registered: 2017-05-26

Re: Enable File logging for Logs

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

#4 2017-12-08 07:44:13

IF_Eduardo
Administrator
Registered: 2016-11-01
Website

Re: Enable File logging for Logs

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

Board footer

Powered by FluxBB