How should administrative error messages generated? I'm generating authentication modules for LDAP. I want to generate error messages when LDAP specific errors happen. Errors such as cannot connect to ldap server, service account cannot bind, or multiple users returned. I will reject the user login silently to the user interface but I want an error message written to a logger. Should I just send it to E_USER_WARNING and let the admin deal with the logging or is there an internal TTRRS logging method I should be using?
Development-related discussion, including bundled plugins
2 posts • Page 1 of 1
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
There's no tt-rss specific logging. Some people have warnings redirected to browser output (which is ridiculous, but there you have it). Maybe error_log()?
Who is online
Users browsing this forum: No registered users and 6 guests