Skip to main content

How and where do I re-configure the Essentials logging?

Comments

3 comments

  • Permanently deleted user

    Thanks John.

    I implemented the changes and the logging is working after the changes so I am assuming we are good.

    Will

    0
  • Permanently deleted user

    Hi Will,

    Yes, all should be good.  If you would like advance confirmation that your configuration file has been registered correctly, you can change the maximum file size parameter to 10KB, restart the Essentials app (easiest done with a minor change to the Web.config file and save) and run a few workflows and confirm that the log rolls over at that file size.  Remember to put it back to 200MB and restart Essentials afterwards, if you choose to do this test.

    John

    0
  • Permanently deleted user
    Will/John,

     

    Since this is the only post I see about log4net and that I found nothing of help in the documentation about how to configure the logging, I am posting here.

     

    We have a named instance of Geocortex installation with multiple "fronts", meaning the REST API is installed on different servers under load balancing with Essential in the back end.

     

    I want to turn on the logging of the REST API to see what is going on because we have to recycle the REST API  application pool every 4 hours to keep our site stable. Sometimes once every hour.

     

    What do I need to place in the REST API's Web.Config, and how do I go about setting debug level and what not?

     

    Here we are used to use log4net and we always configure an SMTP appender to send FATAL errors to a monitored mailbox. This is what I ultimately would want to do but, I realize your wrapper might not allow it but first, I want to enable logging to figure out what is going on.

     

    Can you help ?

     

    Thank you

     

    Jeff

     

     
    0

Please sign in to leave a comment.