'log show' command is not logging '--debug' logs

We are gathering logs of our product with the following command-

log show --predicate 'subsystem == "com.company.product"' --last 1h --info --debug

But we are not getting the logs of debug, though info and error logs are printing properly.


When we are logging with the following command-

log stream --debug --info | grep "com.company.product"

We are getting logs of debug, info and error as well.


We checked with multiple combinations as well (with only --debug, only --info, with time span), but nothing worked out.


Can we have a solutions for the same please.


OS- macOS Big Sur

Version 11.0.1

Posted on Jan 4, 2021 9:16 AM

Reply
2 replies

Jan 4, 2021 9:28 AM in response to sourabdeams

sourabdeams wrote:

We are gathering logs of our product with the following command-
log show --predicate 'subsystem == "com.company.product"' --last 1h --info --debug
But we are not getting the logs of debug, though info and error logs are printing properly.

When we are logging with the following command-
log stream --debug --info | grep "com.company.product"
We are getting logs of debug, info and error as well.

We checked with multiple combinations as well (with only --debug, only --info, with time span), but nothing worked out.

Can we have a solutions for the same please.

OS- macOS Big Sur
Version 11.0.1


Update your software macOS 11.1



Old issue, new issue, what changed ?


What exact Mac are you using?

What exact macOS are you using?

What shell are you using ?


Have you references the manual...copy and paste:

 man log | more 

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

'log show' command is not logging '--debug' logs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.