-
Notifications
You must be signed in to change notification settings - Fork 0
/
gelfDaemon.conf
45 lines (39 loc) · 867 Bytes
/
gelfDaemon.conf
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
# /etc/gelfDaemon.conf
#
# levels are defined as these:
# CRITICAL: 2
# ERROR: 3
# WARNING: 4
# NOTICE: 5
# INFO: 6
# DEBUG: 7
[default]
gelfServer = awesome-graylog2-server
gelfPort = 12201
gelfMaxChunkSize = 8154
[app_production]
path = /data/app/current/log/production.log
level = 3
regex = .*[eE]xception.*
facility = app
short_message_regex = ^.{1,60}
concatenate_on = ^\ \~$
[sphinx]
path = /data/sphinx/log/searchd.log
level = 5
regex = .*
facility = searchd_log
short_message_regex = ^.{1,60}
[sphinx_slow_queries]
path = /data/sphinx/log/query.log
level = 4
regex = \].[1-9]{1,3}.
facility = searchd_query
short_message_regex = ^.{1,60}
[mysql_slow]
path = /data/logs/mysql/mysql-slow.log
level = 4
regex = .*
facility = mysql/slow
short_message_regex = ^.{1,60}
concatenate_on = ^\#.*