Discussion:
[chromium-dev] Printing LOG(INFO) messages?
i***@chromium.org
2018-11-19 22:39:03 UTC
Permalink
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/chrome_os_logging.md#severity
says

By default, only messages logged at severity WARNING or higher are written
to disk. More concretely, LOG(INFO) messages are discarded.
The "by default" would indicate that it's possible to change this to have
LOG(INFO) messages be written to disk, but I can't figure out how.

Later, there's discussion of --vmodule, but I thought that only affected
VLOG's. (The comments
in https://cs.chromium.org/chromium/src/base/logging.h?l=91 certainly seem
to support that)


How do I turn on LOG(INFO)?

Thanks,
Ian
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/5a6485dc-e279-4005-b0e4-20a8f9af4b21%40chromium.org.
k***@chromium.org
2018-11-20 14:28:54 UTC
Permalink
The following works for getting LOG(INFO) to stderr on Linux.

$ ./chrome --log-level=0 --enable-logging=stderr

I'm not sure if that's helpful for Chrome OS where it's logging to file but
maybe --log-level=0 is sufficient there?

Kyle
Post by i***@chromium.org
https://chromium.googlesource.com/chromium/src/+/HEAD/docs/chrome_os_logging.md#severity
says
By default, only messages logged at severity WARNING or higher are written
to disk. More concretely, LOG(INFO) messages are discarded.
The "by default" would indicate that it's possible to change this to have
LOG(INFO) messages be written to disk, but I can't figure out how.
Later, there's discussion of --vmodule, but I thought that only affected
VLOG's. (The comments in
https://cs.chromium.org/chromium/src/base/logging.h?l=91 certainly seem
to support that)
How do I turn on LOG(INFO)?
Thanks,
Ian
--
--
Chromium Developers mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+***@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/fbb02ded-4104-4c9a-b1d2-b8627b0e5bc8%40chromium.org.
Loading...