[OPENDJ-2436] OpenDJ: Need a command tools switch to limit /tmp/opendj-*-<date>.log file creation Created: 16/Nov/15 Updated: 08/Nov/19 Resolved: 21/Nov/15
|Affects Version/s:||3.0.0, 2.6.3, 2.6.2, 2.6.1, 2.6.0|
|Reporter:||Lee Trujillo||Assignee:||Ludovic Poitou|
|Support Ticket IDs:|
Command line tools that are run as part of setup or monitoring, write a log to /tmp (Unix) or /var/folders/32/XXXXXXXXXXX/T/ (OSX) etc.
If the tool, such as "dsreplication status" or "status" is used on a very frequent basis, the log files can build up, unknown to an administrator. This is very likely in the former case.
We should have a command line option to stop these los from being written if desired.
Example: --noToolLog or --noCommandReport etc.
|Comment by Chris Ridd [ 17/Nov/15 ]|
We have had a customer case (linked) where the filesystem containing these logs (/tmp in their case) ran out of inodes.
|Comment by Ludovic Poitou [ 17/Nov/15 ]|
I suggest that we remove the temporary log files, whenever the command executed returns success.
|Comment by Ludovic Poitou [ 20/Nov/15 ]|
So these temp log files are more for debug than anything.
|Comment by Matthew Swift [ 07/Nov/19 ]|
Moved to closed state because the fixVersion has already been released.