Section One BBS

Welcome, Guest.


Subject: per-service log levels Date: Wed Jan 22 2025 06:40 pm
From: Digital Man To: deon

  Re: per-service log levels
  By: deon to Digital Man on Thu Jan 23 2025 12:32 pm

 >   Re: per-service log levels
 >   By: Digital Man to deon on Wed Jan 22 2025 04:21 pm
 >
 >  >  > I've been trying to get IMAP into Debug mode (for my delete issue on
 >  >  > mac), and it wont go into debug mode unless I put LogLevel = Debug in
 >  >  > sbbs.ini
 >  >  > In services.ini I have this:
 >
 >  >  > [IMAP]
 >  >  > LogLevel=Debug
 >
 >  > Yeah, that tracks (sounds correct).
 >
 > Howdy, so I finished my debugging, but I dont think debuglevel is working
 > for services (or it didnt work for me, unless I put sbbs.ini LogLevel =
 > Debug).
 >
 > Anyway, I have now reverted sbbs.ini back to LogLevel = Informational, and
 > services.ini [IMAP] is still LogLevel = Debug, but its not doing "Debug"
 > logging.
 >
 > ie: log(LOG_DEBUG,'Im in DEBUG mode'); in imapservice.js doesnt appear in
 > journalctl (changing to LOG_WARNING does though).

In order for *any* debug-level log messages to be logged by sbbs (and that inclu
des all scripts executed by sbbs, including services), you'd have to have one of
 the LogLevel settings in sbbs.ini set to "debug". Additionally, each service ca
n also be set to filter-out lower-severity log messages (by setting its log leve
l to something less than "debug").

Think of it like a chain that the messages have to go through and each link in t
he chain can filter out lower seveirty messages. If that link filters the messag
e, it never gets to the next link.
-- 
                                            digital man (rob)

This Is Spinal Tap quote #34:
We'd love to stand around and chat, but we've gotta sit down in the lobby
Norco, CA WX: 68.9°F, 4.0% humidity, 6 mph ENE wind, 0.00 inches rain/24hrs
---
 ■ SynchronetVertrauen Home of Synchronet [vert/cvs/bbs].synchro.net

Previous Message       Next Message
In Reply To: per-service log levels (deon)
Replies: per-service log levels (deon)