[PATCH] --logconf option to start script
Martin Atkins
mart at degeneration.co.uk
Sun Feb 3 13:07:57 UTC 2008
Jacob Burkhart wrote:
> Hi,
>
> During development, I like to be able to specify a directory to my
> logconf file so that I don't have to store it within the directory that
> the rest of Djabberd sits in, and also so that I can switch between
> logconfs by specifying a different file (instead of having to modify a file)
>
> This patch alters the start script to accept a --logconf option, and
> alters Log.pm to implement set_logger.
>
This was checked in slightly modifed in changeset 773:
<http://code.sixapart.com/trac/djabberd/changeset/773>
My modification was to do the initialization in a BEGIN {} block so that
the "use DJabberd" line doesn't cause it to initalize right away with
the built-in default locations.
More information about the Djabberd
mailing list