Ignore:
Timestamp:
Aug 16, 2017, 12:53:41 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
8cec8f7
Parents:
d2ba33c
git-author:
Jason Gross <jgross@mit.edu> (01/05/14 18:08:28)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/16/17 12:53:41)
Message:
Add log-to-subdirectories, a compatibility frob

If disabled (the default), then logging of jabber and AIM messages
behaves how it used to.  If enabled, then each protocol gets its own
subdirectory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Logging.pm

    r6ddfb07 r5dee79a  
    120120                           . "Files will be created in the directory for each class."
    121121        });
     122
     123    BarnOwl::new_variable_bool('log-to-subdirectories',
     124        {
     125            default     => 0,
     126            summary     => "log each protocol to its own subdirectory of logbasepath",
     127            description => "When this is enabled, BarnOwl will log each protocol to its own\n"
     128                         . "subdirectory of logbasepath.  When this is disabled, BarnOwl will\n"
     129                         . "instead log all non-zephyr non-loopback messages to the logpath,\n"
     130                         . "and prefix each filename with what would otherwise be the subdirectory\n"
     131                         . "name.\n\n"
     132                         . "If you enable this, be sure that the relevant directories exist;\n"
     133                         . "BarnOwl will not create them for you."
     134        });
     135
    122136}
    123137
Note: See TracChangeset for help on using the changeset viewer.