I'm using this approach for sending logs from my GCP App-Engine logic to GCP Stackdriver logging:
import logging
import google.cloud.logging
from google.cloud.logging.handlers import CloudLoggingHandler, setup_logging
client = google.cloud.logging.Client()
handler = CloudLoggingHandler(client)
logging.getLogger().setLevel(logging.INFO)
setup_logging(handler)
logging.info('just info')
logging.warning('warning info')
logging.error('bad news')
This works and produces logs that are all classified generically and look like this:
However what I'd like to see is the same log but with the associated severity level classification and visually having log-level classification icon, like this in example:
I've been going through the documentation found here and tried a number of things but all with the same no-icon result. Any advice or recommendations welcome.


