forked from CedricGatay/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog4tailer
More file actions
117 lines (92 loc) · 3.88 KB
/
log4tailer
File metadata and controls
117 lines (92 loc) · 3.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Optional config for log4tailer
# to activate it
# log4tail -c config yourlogs
# ====================================================
# Custom colours for every level. Available
# colours are: red, green, yellow, blue, magenta, cyan
# and white. Uncomment to override the default ones.
# ====================================================
# warn = yellow, on_cyan
# error = magenta
# fatal = red, on_green
# info = green
# debug = black
severe = red
finest = black, on_white
color.JRebel=black, on_white
color.I18nService=red, on_green
color.1.4.17=skip
# ================================
# targets: which lines do you want
# to emphasize by using regexes
# uncomment and provide your values.
# ================================
# targets fullpathToLog0 = regex0 : color0; regex1 : color1;..; regexN : colorN
# targets fullpathToLog1 = regex0 : color0; regex1 : color1;..; regexN : colorN
# ======================================================
# Every log with its own color scheme, overriding colors
# for every level.
# ======================================================
# /path/to/log0 = yellow
# /path/to/log1 = red
# ======================================================
# Pause the output by the number of seconds specified if
# a level or target has been found. Uncomment the ones
# you want. The value can be any number in seconds.
# ======================================================
# pausedebug = 4
# pauseinfo = 2
# pausewarn = 1
# pauseerror = 1
# pausefatal = 1
# pausetarget = 1
# ======================================================
# Mail details
# ======================================================
# mail_username = yourhostusername
# mail_hostname = mailhostname
# mail_port = 25
# mail_ssl = True or False
# mail_from = any from address
# mail_to = alerts will be sent in the address you specify in here
# ===================================================================
# executor notification
# ===================================================================
# executor = program command1 command2 %s %s
# executor = program command1 command2
# ===================================================================
# poster notification
# ===================================================================
# server_url = url to the server
# server_port = port
# server_service_uri = /where/go/notifications
# server_service_register_uri = /register/log4tailer/toserver
# server_service_unregister_uri = /unregister/log4tailer/fromserver
# ===================================================================
# Inactivity notification, by email or stdout.
# Possible values can be "mail" or "print". By default is "print".
# ===================================================================
# inactivitynotification = mail
# ===================================================================
# PrintShot notification
# ===================================================================
# screenshot = fullpathtopicture.png
# ====================================================================
# Analytics notification. You can make log4tailer send you
# a report every analyticsgaptime seconds. By default it will be
# printed out once finished. Uncomment analyticsnotification to
# report by email or to a file. Another possible value can be "print".
# ====================================================================
# analyticsnotification = mail
# analyticsnotification = fullPathToaFile
# analyticsgaptime = 10.5
# ==============================
# SSH Tailing parameters
# ==============================
sshhostnames = 10.1.2.12
10.1.2.12 = cgatay, /opt/glassfishv3/glassfish/domains/domain1/logs/server.log
# hostname1 = username1, /var/log/log0, /var/log/log1, /var/log/logN-1
# hostnameN-1 = usernameN-1, /var/log/log0, /var/log/log1, /var/log/logN-1
# rsa_key defaults to ~/.ssh/id_rsa, if that's not your case then
# provide yours
# rsa_key = fullpathToRsaKeyName