Going for Logwatch 8.0
Mike Tremaine <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
I think I've got most of the code worked out for the new output/format switches I'll have to run some tests on it tonight or tomorrow before I commit it to CVS but it should be pretty clean. I got rid of some variables and added more comments. The interface now looks like New: --output stdout [default], mail, file --format text [default], html --encode none [default], base64 --save [flips output file] --mailto [flips output mail] We gained --output file in the process because it was easier and made sense for the switch that checks for OUTPUT filehandle. Of course --save <Filename> is a shortcut and flips --output file for you. I do have one nagging piece of code which is the "sprintf" calls in output, which I know I moved from some older code long ago when I unified the output sub. Anyone actually using this "formatted" output. As it stands it is impossible in my current version to get to these, to "re-enable" them I'd have to add another --format type but I wondering if it is worth it. I think these came from the PLD folks. Also I anyone can gimme some feedback on the problems with Multimail, splithosts, hostnames I'd like to clean that up while I'm at it. -Mike