Controlling log level 9.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Controlling log level 9.0

Dirk-Willem van Gulik
How does one control the loglevel on 9.0:

With:

    <!-- Log levels -->
    <key>DefaultLogLevel</key>
    <string>warn</string> <!-- debug, info, warn, error —>

The log is still showing (after memcache purge & restart):

2017-01-13T16:07:53+0000 [twext.enterprise.adbapi2#debug] ConnectionPool: txn free 'jobqueue.workCheck': free=1, busy=0, waiting=0

And secondly - can LogLevels be used to control this in a more grannular fashion ? I had hoped that

    <key>LogLevels</key>
    <dict>
       <key>twext.enterprise.adbapi2</key>
       <string>error</string>
    </dict>

would do the trick - but no dice sofar.

Dw.





_______________________________________________
calendarserver-users mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/calendarserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Controlling log level 9.0

Dirk-Willem van Gulik
On 13 Jan 2017, at 17:10, Dirk-Willem van Gulik <[hidden email]> wrote:

> How does one control the loglevel on 9.0:
>
> With:
>
>    <!-- Log levels -->
>    <key>DefaultLogLevel</key>
>    <string>warn</string> <!-- debug, info, warn, error —>
>
> The log is still showing (after memcache purge & restart):
>
> 2017-01-13T16:07:53+0000 [twext.enterprise.adbapi2#debug] ConnectionPool: txn free 'jobqueue.workCheck': free=1, busy=0, waiting=0
>
> And secondly - can LogLevels be used to control this in a more grannular fashion ? I had hoped that
>
>    <key>LogLevels</key>
>    <dict>
>       <key>twext.enterprise.adbapi2</key>
>       <string>error</string>
>    </dict>
>
> would do the trick - but no dice sofar.

I am starting to suspect that there is something funny with freebsd its import-ordering. So this may in fact be a *BSD issue rather than a calendarserver issue.

Dw.
_______________________________________________
calendarserver-users mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/calendarserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Controlling log level 9.0

Axel Rau

Am 13.01.2017 um 22:31 schrieb Dirk-Willem van Gulik <[hidden email]>:

I am starting to suspect that there is something funny with freebsd its import-ordering. So this may in fact be a *BSD issue rather than a calendarserver issue.

I see this too on fbsd 10.3 and 11.0 .
Would you care to open a PR here
?

Axel
---
PGP-Key:29E99DD6  ☀  computing @ chaos claudius


_______________________________________________
calendarserver-users mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/calendarserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Controlling log level 9.0

Joe Malcolm
Axel Rau writes:
>
>> Am 13.01.2017 um 22:31 schrieb Dirk-Willem van Gulik <[hidden email]>:
>>
>> I am starting to suspect that there is something funny with freebsd its import-ordering. So this may in fact be a *BSD issue rather than a calendarserver issue.
>>
>I see this too on fbsd 10.3 and 11.0 .
>Would you care to open a PR here
> https://bugs.freebsd.org/bugzilla/enter_bug.cgi <https://bugs.freebsd.org/bugzilla/enter_bug.cgi>
>?

I also experience this on FreeBSD but I haven't spent much time investigating.

Joe
_______________________________________________
calendarserver-users mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/calendarserver-users