This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

i have configured TRACE log setting for SYNC jobs.But i cant see the Trace logs.

I have to enable the TRACE log for SYNC task in "globallog" config file like below,

<targets async="true">
<default-wrapper xsi:type="BufferingWrapper" bufferSize="256" flushTimeout="2000" />
<target name="logfile" xsi:type="File" fileName="${logBaseDir}/${appName}.log" layout="${layout}" encoding="utf-8"
archiveFileName="${logBaseDir}/${appName}.{#}.log" maxArchiveFiles="7" archiveEvery="Day" archiveNumbering="Rolling"/>

<target name="sqllogfile" xsi:type="File" fileName="${logBaseDir}/${appName}_sql.log" layout="${layout}" encoding="utf-8"
archiveFileName="${logBaseDir}/${appName}_sql.{#}.log" maxArchiveFiles="7" archiveEvery="Day" archiveNumbering="Rolling"/>
<target name="objectlogfile" xsi:type="File" fileName="${logBaseDir}/${appName}_object.log" layout="${layout}" encoding="utf-8"
archiveFileName="${logBaseDir}/${appName}_object.{#}.log" maxArchiveFiles="7" archiveEvery="Day" archiveNumbering="Rolling"/>
<target name="jobgenlogfile" xsi:type="File" fileName="${logBaseDir}/${appName}_jobgen.log" layout="${layout}" encoding="utf-8"
archiveFileName="${logBaseDir}/${appName}_jobgen.{#}.log" maxArchiveFiles="7" archiveEvery="Day" archiveNumbering="Rolling"/>

<target xsi:type="NLogViewer" name="viewer" address="udp1://149.5.08.3:7890"/>
<target xsi:type="Chainsaw" name="chainsaw" address="udp1://149.5.08.17:7890" />
</targets>

<targets>
<target name="eventLog" xsi:type="EventLog" source="${companyName} ${productTitle} ${appName}" layout="${message}${newline}${exception:format=tostring}"/>
</targets>

<rules>
<!-- just for debug purposes
<logger name="*" minlevel="Trace" writeTo="viewer"/>
<logger name="*" minlevel="Trace" writeTo="chainsaw"/>
-->

<!-- Debug logger definitions
<logger name="SqlLog" minlevel="Debug" writeTo="sqllogfile"/>
<logger name="ObjectLog" minlevel="Debug" writeTo="objectlogfile"/>
<logger name="JobGenLog" minlevel="Debug" writeTo="jobgenlogfile"/>
-->

<logger name="*" minlevel="Info" writeTo="logfile"/>
<logger name="*" level="Fatal" writeTo="eventLog"/>
<logger name="SynLog" minlevel ="Trace" writeTo="logfile"/>
</rules>

Please help me ,why did i not getting TRACE logs.Did i do the correct way to enable TRACE log.

  • Hi,

    The name= should be SystemConnector ...... no idea where you got SynLog from!

    HTH, Barry.

  • I have recived it from a document .See this below,

    FrontendLog             Logs actions in front-ends.
    JobGenLog               Logs during process generation.
    Jobservice                 Logs One Identity Manager Service messages.
    ObjectLog                    Logs object actions through the object level.
    ProjectorEngine            Logs messages from the synchronization engine.
    SqlLog                          Logs database queries
    StopWatch                   Logs timings.
    SyncLog                        Logs actions within synchronization.
    SystemConnection        Detailed logging of data communication with the system connection
    during synchronization, including system configuration and system
    connectors' data communication.
    SystemConnector         Logs system connector data communication during synchronization.
    Update Logs                 update handling.
    WebLog                     Logs Web service actions

  • Hi ,

    Here log is dumbed in file name like "${appName}.log".Actually where is that "appName" configured.I cant find in my system.

  • Hi,

    OK well you had a typo in your file "SynLog" .... assume you meant "SyncLog".

    Anyway, I have always used SystemConnector for tracing sync or provision actions.

    As for the appName ..... that is managed internally ..... some examples are:

    ConfigWizard
    CryptoConfig
    DataImporter
    DBCompiler
    DBCompilerCMD
    DBTransporter
    Designer
    IntelliCache
    JobQueueInfo
    JobService
    LaunchPad
    Manager
    ReportEdit
    SchemaExtension
    SoftwareLoader
    StdioProcessor
    SynchronizationEditor
    Transporter
    Updater
    WebDesigner

    HTH, Barry.

  • where should i see the log file .

  • Hello,

    Please refer to the knowledgebase article that outlines the steps and the log locations:

    https://support.oneidentity.com/identity-manager/kb/181278/how-to-enable-trace-logging

    In the default installation of Identity Manager the log files are saved in the directory:

    %LocalAppData%\Dell\Identity Manager\*appName*\*appName*.log

    (Where 'appName' is the name of the Identity Manager component and %LocalAppData% is for the account running the Dell One Identity Manager service.)


    Trevor

  • when i checked in my server under "Dell\Identity Manager\*appName" ,i could not find even the "appname " folder .There is no ".log" file existing .Please help me.

  • The path you need to look in is:

    C:\Users\<the user you run your service under>\AppData\Local\Dell\One Identity Manager

    In there you will find subfolders like:

    ConfigWizard
    CryptoConfig
    DataImporter
    DBCompiler
    DBCompilerCMD
    DBTransporter
    Designer
    IntelliCache
    JobQueueInfo
    JobService
    LaunchPad
    Manager
    ReportEdit
    SchemaExtension
    SoftwareLoader
    StdioProcessor
    SynchronizationEditor
    Transporter
    Updater
    WebDesigner

    The are the appName(s) ....... there is no actaul folder called appName.

    And you need to be on the server that is running your job server service.

  • Hi,

    If i direct my logs to"event Log" , can i see the entire logs in Event viewer or where can i find the logs.

  • Hi,

    One more doubt.After changing the Log config file "globallog.config",do we need to restart the application .Please tell me ,do we want to do anything after changing the globallog config file to reflect the change.