Ignore:
Timestamp:
Jan 7, 2014, 6:02:25 PM (9 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
2688bd5
Parents:
cc27237
git-author:
Jason Gross <jgross@mit.edu> (01/05/14 18:08:28)
git-committer:
Jason Gross <jgross@mit.edu> (01/07/14 18:02:25)
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

    r9367711 r611236e  
    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.