not that I would do this but just asking, if I have
foo.com {
log requests.log {
rotate_size 50 # Rotate after 50 MB
rotate_age 90 # Keep rotated files for 90 days
rotate_keep 20 # Keep at most 20 log files
rotate_compress # Compress rotated log files in gzip format
}
}
and
bar.com {
log requests.log {
rotate_size 25 # Rotate after 50 MB
rotate_age 10 # Keep rotated files for 90 days
rotate_keep 5 # Keep at most 20 log files
}
}
foo.com has different log settings than bar.com though they both point to the same file.
What happens?