root/honeyclient/tags/exp/PRE-kindlund-test/etc/honeyclient_log.conf

Revision 601, 3.4 kB (checked in by kindlund, 2 years ago)

Merged DB branch back into trunk.

  • Property svn:keywords set to Id "$file"
Line 
1 #######################################################################
2 # Created on:  June 06, 2006
3 # Package:     none
4 # File:        honeyclient_log.conf
5 # Description: A configuration file (Log4J format) that handles all
6 #              log configuration options for each of the Honeyclient
7 #              modules.
8 #
9 # CVS: $Id$
10 #
11 # @author jdurick, kindlund
12 #
13 # Copyright (C) 2006 The MITRE Corporation.  All rights reserved.
14 #
15 # This program is free software; you can redistribute it and/or
16 # modify it under the terms of the GNU General Public License
17 # as published by the Free Software Foundation, using version 2
18 # of the License.
19 #
20 # This program is distributed in the hope that it will be useful,
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23 # GNU General Public License for more details.
24 #
25 # You should have received a copy of the GNU General Public License
26 # along with this program; if not, write to the Free Software
27 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
28 # 02110-1301, USA.
29 #
30 #######################################################################
31 #
32 # Below is a list of logging options that you can apply to the layout
33 # of your logging message
34 #
35 #     %c Category of the logging event.
36 #     %C Fully qualified package (or class) name of the caller
37 #     %d Current date in yyyy/MM/dd hh:mm:ss format
38 #     %F File where the logging event occurred
39 #     %H Hostname (if Sys::Hostname is available)
40 #     %l Fully qualified name of the calling method followed by the
41 #        callers source the file name and line number between
42 #        parentheses.
43 #     %L Line number within the file where the log statement was issued
44 #     %m The message to be logged
45 #     %M Method or function where the logging request was issued
46 #     %n Newline (OS-independent)
47 #     %p Priority of the logging event
48 #     %P pid of the current process
49 #     %r Number of milliseconds elapsed from program start to logging
50 #        event   
51 #     %T A stack trace of functions called
52 #     %x The topmost NDC (see below)
53 #     %X{key} The entry 'key' of the MDC (see below)
54 #     %% A literal percent (%) sign
55 #
56 # For more information, see the following URL:
57 # http://log4perl.sourceforge.net/releases/Log-Log4perl/docs/html/Log/Log4perl.html
58 #
59 #######################################################################
60
61 log4perl.rootLogger=INFO, Screen, Syslog
62
63 # Screen Logging Settings
64 #log4perl.logger.HoneyClient.Agent.Integrity.Registry=DEBUG, Screen
65 #log4perl.logger.HoneyClient.DB=DEBUG, Screen
66 # Suppress Parser Debugging Messages
67 #log4perl.logger.HoneyClient.Agent.Integrity.Registry.Parser=INFO, Screen
68 log4perl.appender.Screen=Log::Log4perl::Appender::Screen
69 # If you want colorized logging to the screen, enable this line, instead.
70 #log4perl.appender.Screen=Log::Log4perl::Appender::ScreenColoredLevels
71 log4perl.appender.Screen.stderr=0
72 log4perl.appender.Screen.Threshold=DEBUG
73 log4perl.appender.Screen.layout=Log::Log4perl::Layout::PatternLayout
74 log4perl.appender.Screen.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p [%M] (%F:%L) - %m%n
75
76 # Syslog Logging Settings
77 log4perl.appender.Syslog=Log::Dispatch::Syslog
78 log4perl.appender.Syslog.socket=inet
79 log4perl.appender.Syslog.Threshold=DEBUG
80 log4perl.appender.Syslog.layout=Log::Log4perl::Layout::PatternLayout
81 log4perl.appender.Syslog.layout.ConversionPattern=%5p [%M] (%F:%L) - %m%n
Note: See TracBrowser for help on using the browser.