-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend API to change the SysLog Log Level #98
Comments
Perhaps also a special called |
The raw option affects all loggers (console/web/syslog) and also the watch command (which affects also all loggers). I think it's confusing to have this as extra level in syslog command. Maybe better to have the raw-switch as extra api command ( |
Ok. so for now
that will satisfy what Thomas needs if he uses NOTICE and turns on raw. The filter is a nice idea but I don't think it's worth the extra work for his edge case. Unless others will use it. |
Ups, we have a misunderstanding, i thought about the "raw" option in web-settings, that only switches "watch" from pretty to hex, but do not activate watch. (btw: I've used raw a long time, but pretty_telegram is stable and trustworthy since a long time now, raw is mostly obsolete). |
ok. agree. keep it in sync is smart |
@proddy @MichaelDvP Are any changes to syslog done in v3.2.2a0 ? I was testing for km200 delay in #90 and recognized that syslog output changed. Syslog level trace and output in hex works fine as I proposed - just the rx messages - FINE ! The other loglevels send wrong format to syslog server so I get error messages from syslog.
Isn't the following missing?: facility: "logalert",facilityCode: 14,severity: "debug",severityCode: 7,tag: "Rx" |
My alpha-version sometimes differ from official version. This #90 test was intended only to test the km200 handling, please switch back to offiicial beta for syslog discussions. |
Syslog errors (wrong format) are also related to last dev version v3.2.2b0. |
@tp1de can this be closed? |
Yes |
I propose a new system command called
syslog_level
called via/ems-esp/api/system/syslog_level
and take a JSON body as"log"
can also be"value"
to be compatible with the other calls.where
<level str>
is one of OFF, EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG, TRACE, ALL.The text was updated successfully, but these errors were encountered: