summaryrefstree
path: root/etc/log_config/logrotate.conf
blob: 14fa1887ea35db96e80c7bd07e89c20dcfebb5e5 (plain)
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

#rotate 20

# use date as a suffix of the rotated file
#dateext

# create new (empty) log files after rotating old ones
create
		
#don't change this value
#maxsize=25600k
size=190k

/var/log/SOC-Infolog.log
{
        notifempty
        missingok
		rotate 1000
        #copytruncate
        #rotate 4
}
/var/log/SOC-Errorlog.log
{
        notifempty
        missingok
		rotate 1000
        #copytruncate
        #rotate 20
}
/var/log/mcu-debug.log
{
        notifempty
        missingok
		rotate 317
        #copytruncate
        #rotate 5
}