about summary refs log blame commit diff stats
path: root/tools/conf/etc/logrotate.d/nginx
blob: ae05445963616e3490fbd0325735fe76718b3592 (plain) (tree)






















                                                 
/var/log/nginx/access.log {
    weekly
    create 0664 root www
    rotate 5
    sharedscripts
    postrotate
    if [ -f /var/run/syslog-ng.pid ]; then \
    	kill -HUP `cat /var/run/syslog-ng.pid`; \
    fi;
    endscript
}

/var/log/nginx/error.log {
    weekly
    create 0644 root root
    rotate 5
    sharedscripts
    postrotate
    if [ -f /var/run/syslog-ng.pid ]; then \
    	kill -HUP `cat /var/run/syslog-ng.pid`; \
    fi;
    endscript
}
.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
c{0: 0 (((1 integer)) <- ((copy)) ((34 literal))) -- nil
c{0: 1 (((2 boolean)) <- ((copy)) ((nil literal))) -- nil
c{0: 2 (((3 boolean)) <- ((get)) ((1 integer-boolean-pair)) ((1 offset))) -- nil
c{0: 3 (((4 integer)) <- ((get)) ((1 integer-boolean-pair)) ((0 offset))) -- nil
c{1: 0 ✓ (((1 integer)) <- ((copy)) ((34 literal)))
c{1: 1 ✓ (((2 boolean)) <- ((copy)) ((nil literal)))
c{1: 2 ✓ (((3 boolean)) <- ((get)) ((1 integer-boolean-pair)) ((1 offset)))
c{1: 3 ✓ (((4 integer)) <- ((get)) ((1 integer-boolean-pair)) ((0 offset)))
cn0: convert-names in main
cn0: (((1 integer)) <- ((copy)) ((34 literal))) nil nil
cn0: checking arg ((34 literal))
cn0: checking oarg ((1 integer))
maybe-add: ((1 integer))
cn0: (((2 boolean)) <- ((copy)) ((nil literal))) nil nil
cn0: checking arg ((nil literal))
cn0: checking oarg ((2 boolean))
maybe-add: ((2 boolean))
cn0: (((3 boolean)) <- ((get)) ((1 integer-boolean-pair)) ((1 offset))) nil nil
cn0: field-access 1 in 1integer-boolean-pair of type integer-boolean-pair
cn0: checking arg ((1 integer-boolean-pair))
maybe-add: ((1 integer-boolean-pair))
cn0: checking arg ((1 offset))
cn0: checking oarg ((3 boolean))
maybe-add: ((3 boolean))
cn0: (((4 integer)) <- ((get)) ((1 integer-boolean-pair)) ((0 offset))) nil nil
cn0: field-access 0 in 1integer-boolean-pair of type integer-boolean-pair
cn0: checking arg ((1 integer-boolean-pair))
maybe-add: ((1 integer-boolean-pair))
cn0: checking arg ((0 offset))
cn0: checking oarg ((4 integer))
maybe-add: ((4 integer))
cn1: (((1 integer)) <- ((copy)) ((34 literal)))
cn1: (((2 boolean)) <- ((copy)) ((nil literal)))
cn1: (((3 boolean)) <- ((get)) ((1 integer-boolean-pair)) ((1 offset)))
cn1: (((4 integer)) <- ((get)) ((1 integer-boolean-pair)) ((0 offset)))
schedule: main
run: main 0: (((1 integer)) <- ((copy)) ((34 literal)))
run: main 0: 34 => ((1 integer))
mem: ((1 integer)): 1 <= 34
run: main 1: (((2 boolean)) <- ((copy)) ((nil literal)))
run: main 1: nil => ((2 boolean))
mem: ((2 boolean)): 2 <= nil
run: main 2: (((3 boolean)) <- ((get)) ((1 integer-boolean-pair)) ((1 offset)))
mem: ((2 boolean) (raw)) => nil
run: main 2: nil => ((3 boolean))
mem: ((3 boolean)): 3 <= nil
run: main 3: (((4 integer)) <- ((get)) ((1 integer-boolean-pair)) ((0 offset)))
mem: ((1 integer) (raw)) => 34
run: main 3: 34 => ((4 integer))
mem: ((4 integer)): 4 <= 34
schedule: done with routine nil