Closed lechen26 closed 2 years ago
What does your Logback configuration look like? Do you have this?
<configuration>
<include resource="org/springframework/cloud/gcp/logging/logback-appender.xml" />
<root level="INFO">
<appender-ref ref="STACKDRIVER" />
</root>
</configuration>
@lechen26 @meltsufin tried and it seemed to work fine on my end. Only difference is that I was using spring-cloud-gcp-starter-logging(2.0.1-SNAPSHOT)
Code sample
public String log() {
val log = LoggerFactory.getLogger(this.getClass());
String message = "Can't use this";
log.warn(message);
return message;
}
What it returned
Please reopen if this is still an issue.
Hi
we've recently noticed some of our projects that writes logging to stackdriver does not includes severity.
in one of my kotlin project we use:
on my code we have something like:
and this log meesage show on stackdriver with no severity![image](https://user-images.githubusercontent.com/7347506/103072698-bcea8e00-45ce-11eb-907a-2b84f096751d.png)
is there any known issue on that area?