-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 0.4.1
-
Component/s: None
-
None
It'd be nice if the debug log (mongodb.debug_log) could have microsecond precision.
I'm wondering what other things it should include to make it a one-stop-gap when requesting debug logs.
- Rename to mongodb.debug
- driver name (phongo/hippo)
- driver version
- mongoc and libbson versions
- connection string
- connection options
The mongodb.debug must be a directory (or stderr/stdout), not a single filename, otherwise we'll get very mangled and confusing logs when multiple processes append to the same log.
mongodb.debug=off/0/"" Disables debugging, Default value is "" mongodb.debug=on/1 Creates new unique debug log in the system temp directory (typically /tmp) with a filename prefix PHONGO-<timestamp> mongodb.debug=/path/to/folder Creates new unique debug log in the provided directory with a filename prefix PHONGO-<timestamp>
- related to
-
PHPC-256 Production debug logs
- Closed