Comments (9)
The complete lack of any logging in znc is pretty unusual. For example, if you clobber the perms on your ssl cert so that znc can't read it, it just sits there with its eyes crossed and there's no indication of what's wrong.
from znc.
Uhm, which errors are logged to *status?
AFAIK only failed rehashes are and logging just those to syslog feels wrong.
Which other error messages do you have in mind?
from znc.
If I edit znc.conf and then "/znc rehash", I get messages if the rehashing did not succeed. However, if I "kill -HUP ", I am not given any messages if the rehashing failed. I would like to be able to look in a log file (syslog or otherwise) on the machine to diagnose errors.
from znc.
So only rehash errors should go to syslog, no other kind of error? Why would anyone check the syslog for failed rehashes then?
from znc.
Honestly, I've used znc for quite a while and have only had errors that were my fault (bad configs, etc). It's quite reliable, so I don't even really know what errors could happen.
The kind of errors I'm talking about are the ones that prevent ZNC from running. Of course, I've seen transient IRC connectivity issues. I agree that those may not need to be in a syslog entry (although I don't think that's a problem if they are there).
My situation is that I (and my coworkers) maintain an instance of znc on an internal machine for users that aren't familiar with IRC. Generally, those of us that are familiar use screen+irssi or our own instance of ZNC on our own machine. When users are added or removed from the znc config, the processed is HUP'd, and we have to simple wait and see if the changes took. There is no feedback. Server locations or ports may have been entered incorrectly. Closing tags may be missing. The only way to know if there is an error is to wait and see what happens. And "wait-and-see" only works if the recent change involved something that can be seen. If it were something like buffer size changes, I would have to assume the changes took since there is no way for me to see any logs. In my opinion, a known, standard place like syslog (or something else in /var/log) would let me check for errors easily and monitor with alerts if something needs attention.
from znc.
So in other words, you already figured out yourself that it's a bad idea to edit the config by hand. However, you didn't yet figure out that it's better to edit the config via webadmin.
from znc.
Something like http://logging.apache.org/log4cxx/ may be used, and it supports more than just syslog... Though perhaps we'll need a license change for that (e.g. #218)
from znc.
Is this bug still open ?
from znc.
from znc.
Related Issues (20)
- Problem with znc HOT 3
- Problem with rejoin after kick
- znc+fish won't encrypt own messages
- Add OpenID Connect support HOT 3
- Add some way to bypass channel mode cache (or just remove it) HOT 6
- Feature request: ability to disable the "The channel could not be joined, disabling it" behavior HOT 1
- Client connecton stalled after CAP ACK HOT 3
- Portainer Add Template > ZNC - no login
- Add Security Headers to webadmin HOT 5
- Cannot load python modules via webadmin w/ Debian 12/Python 3.11.x/znc-1.9.x HOT 2
- can't remove some channels from chansaver HOT 5
- Reconnecting too fast HOT 6
- Missing `RPL_TOPICWHOTIME` from server results in incorrect `RPL_TOPICWHOTIME` sent to client
- Update the Copyright notice
- Perform /timer unknown command HOT 3
- Watch module ZNC HOT 7
- Missing : in PASS command
- Likely race condition in build system related to `generated.tar.gz` HOT 3
- identd and identfile doeset works HOT 10
- Cannot add/edit networks through Webui "The requested module does not acknowledge web requests" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from znc.