Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Rick Pries #1
Writing custom error messages to syslog
Hey there,
I was wondering if anyone has logged, or even had the desire to log, custom
application errors to the syslog daemon on a linux box. And if they were
successful, can they share how they did it.
The environment that I work in has a centralized log mointor system that
already monitors the syslog files from each of their linux systems. I want to
write certain application errors to the syslog so that the current monitoring
system can catch them and alert the appropriate people. For example, if a
login for an single uID fails 100 times in the course of 3 minutes, then I want
to flagg that as a potential hack. Now, I see that on linux boxes, there is
the checkbox called "Use operating system logging facilities" in the
administrator pages under Logging Settings. I suspect that writes the
standard log files to syslog (I haven't been able to find much information
about this). Has anyone used this with any degree of success? Now, if that
checkbox does indeed work, how do you write a custom application error message,
like I stated above, to one of the standard CF log files?
I'd like to see if I can use the logging capabilities that are already in
place rather than write these custom errors to a database table or a separate
file that I would then need to monitor and maintain.
Any and all help is of course appriciated!
Thanks!
-- Rick P.
Rick Pries Guest
-
Custom Error Messages
I would like to use custom error messages with my server side actionscript. Is there a way to do this? -
Best way to send SOAP Messages to a Web Service by writing out XML
Hi Fellows, I would like to post a SOAP Message to a listening Web Service. This SOAP Message is hand-created by me (Please dont ask me why ;)) ... -
Custom Error messages in W2003
I cant seem to get my server to display whats wrong with my ASAP scripts can any one let me know how to fix this? -
creating different syslog file /var/log/syslog.0 /var/log/syslog.1...
Hi, I see different syslog files under /var/log/ /var/log/syslog.0 /var/log/syslog.1 Could anyone tell me whats the difference between syslog.*... -
Error handling and custom error messages
How can I get more informations about last error? I get the last error number with @@ERROR, but I don't know what is the source of error. For...



Reply With Quote

