summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorJoshua Judson Rosen2014-07-03 14:51:47 +0200
committerDenys Vlasenko2014-07-03 14:51:47 +0200
commitae57fcad5d36dc2ba00179ef3e44154c10223862 (patch)
tree03eea81e4c4c8e3944327ae46fe15c4939846fd4 /console-tools
parente46047aa87c9ec0b8e27d1d4ecfcb3e9798ddb8d (diff)
downloadbusybox-ae57fcad5d36dc2ba00179ef3e44154c10223862.zip
busybox-ae57fcad5d36dc2ba00179ef3e44154c10223862.tar.gz
syslogd: make "reopen log file every second" logic work for multiple logs
Move last_log_time from a single global to *each logFile_t* so that we can actually apply the logic to every log-file in multi-file configurations, rather than working only for the first file written in each 1-second interval and then leaving the others connected to possibly wrong files. Signed-off-by: Joshua Judson Rosen <jrosen@harvestai.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools')
0 files changed, 0 insertions, 0 deletions