|
Lines 3-15
Link Here
|
| 3 |
@!@ |
3 |
@!@ |
| 4 |
import univention.lib.ucrLogrotate |
4 |
import univention.lib.ucrLogrotate |
| 5 |
|
5 |
|
| 6 |
name = "connector-tracebacks" |
|
|
| 7 |
settings = univention.lib.ucrLogrotate.getLogrotateConfig(name, configRegistry) |
| 8 |
print "/var/log/univention/%s.log {" % name |
| 9 |
for setting in settings.keys(): |
| 10 |
print "\t%s" % settings[setting] |
| 11 |
print "}" |
| 12 |
|
| 13 |
name = "s4-status" |
6 |
name = "s4-status" |
| 14 |
settings = univention.lib.ucrLogrotate.getLogrotateConfig(name, configRegistry) |
7 |
settings = univention.lib.ucrLogrotate.getLogrotateConfig(name, configRegistry) |
| 15 |
print "/var/log/univention/*-%s.log {" % name |
8 |
print "/var/log/univention/*-%s.log {" % name |