I don't think we currently have a way to generally suppress all
weird messages, just individually per your earlier mail. It is
however posssible to remove them from notice.log by mapping
corresponding notice types to NOTICE_IGNORE.
Justin's solution is almost doing that but it just suppresses the
notice_action_event, not the actual reporting (that event is used
mostly internally). Use either notice_policy or
notice_action_filters instead.
Yep. It doesn't seem to have any noticeable effect. close-ing the file handle also seems to unhook the print_hook so that remote printing is disabled as well. Setting the file to /dev/null would leave remote printing enabled which could cause extra communication between hosts in multihost setups (cluster).
error: cannot open /dev/null.log: Permission denied
The function open_log_file apparently adds a *.log suffix before opening
the file. Assuming that you tried this as root, you probably won't have
gotten an error message. Could you double-check that no /dev/null.log
exist?