It's not clear what you're asking for help with. What part do you not know how to proceed with? Converting a text file to HTML? Having a CGI script perform the conversion? Automating the conversion?
As to the first, if you're satisfied with the logs being displayed as plain text in a fixed width font, just slap a <pre> at the beginning and a </pre> at the end, with the usual HTML boilerplate around it, and it's converted into HTML and you're done. There are also a bazillion ways to parse the lines' contents and reformat them.
In reply to Re: Syslog conversion to HTML
by Zed_Lopez
in thread Syslog conversion to HTML
by parkprimus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |