I'm currently redirecting all my service's standard output (stdout
and stderr
) to a single file, by starting is as such:
java blablaargs &> service.out
SVCPID=$!
However, that file grows quite large. Is it possible, without changing the service program itself (perhaps via some filter command), to split the output by day?
Note: "Use a logging framework in Java" is not the droi... answer I'm looking for, sometimes important output just goes to stdout
, out of my control.