Domanda

I am looking into writing my application's log files to a syslog server in addition to plain old log files.

Are there any alternatives to syslogd? Currently we do not run any Linux servers, so it would be ideal if I could find a Windows solution so that I would not need to worry about an addition machine (even if that is only a VM).

What are good products for log visualization? I've come across logfaces, but would like to know other solutions.

Not sure if it matters, but we are using log4j.

È stato utile?

Soluzione

Are there any alternatives to syslogd? Currently we do not run any Linux servers, so it would be ideal if I could find a Windows solution so that I would not need to worry about an addition machine

3CDaemon utilities include a syslog server (along with FTP/TFTP servers etc).It is for Windows and it is free.
3CDaemon Utilities-Windows

Not sure if it matters, but we are using log4j.

I have tried SyslogAppender with 3CDaemon and it works. You can try it.

Altri suggerimenti

There is some thin line between so called "system log" and "application log". I don't think syslog is a good idea for application logs, I think syslog fits better system related info (as the name goes), - the stuff around your own application which helps your application go - the infrastructure, drivers, services, daemons, guys like that. I could be wrong though.., not sure there are written rules about it, just using common sense.

I would definitely advise against windows EventLog as a medium for application logs. Usually what you want to write into EventLog is that "system" stuff you would normally write into syslog - service started, service died, driver failed, etc. I wouldn't place any internal application traces into there.

If you have difficulties with logFaces, please jot me a line (I'm its author)

If you're Windows only, surly the Windows EventLog would be more appropriate than syslog.

Log4J has the NTEventLogAppender for this purpose

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top