• How to disable logging?

    By Ulrich Krause 2 decades ago

    How can I disable the logging? The only way I found is to set the OPENWEBCMSLOG entry in notes.ini to a non existing database.

    I have openlog.nsf installed in the data dir and openwebcms floods the db with entries that are informational only.

    • By Julian Buss 2 decades ago

      do you have the debug mode activated? (-> OpenWebCMS administration).



      Beside that, I didn't implement any switch to disable logging yet. What do you mean with "flooded", what kind of messages are there (please give an example).

      • no

        By Ulrich Krause 2 decades ago

        i do not have debug enabled. I cannot even find any option in OpenWebCMS Administration. I habe [DEBUG] as role enabled.



        The entries in the Log are about cache and memory



        Global\cms.nsf worker: Cache info: 0 elements in cache



        subNav: createNavigator: #navtree is not cached, recalculating - this should only occur when cache is set to NOCACHE. Otherwise try restarting http task to avoid this.



        MasterControl: Memory info: freeMemory: 620k, totalMemory: 17.408k, usedMemory: 16.787k.

        • By Julian Buss 2 decades ago

          ah yes, these messages are normal. They come too often, I know, and I will change that in future releases.



          In every CMS project I create a simple agent in the openlog.nsf database which removes all documents older than 7 days or so.