mobly icon indicating copy to clipboard operation
mobly copied to clipboard

Make the log level to stdout customizable

Open xpconanfan opened this issue 8 years ago • 4 comments

Right now Mobly writes to stdout in INFO level by default. We can provide a MoblyParam to change this.

xpconanfan avatar Jul 28 '17 18:07 xpconanfan

Would a flag be more appropriate?

dthkao avatar Jul 29 '17 23:07 dthkao

Flag meaning? This is just to be consistent with how LogPath is set.

xpconanfan avatar Jul 31 '17 21:07 xpconanfan

I had meant a command line flag, but I guess consistency is good too. :)

Doe this only affect stdout, or also the log files as well?

dthkao avatar Aug 01 '17 03:08 dthkao

Only affects stdout as the title says... Not sure how useful this is though

On Jul 31, 2017 8:13 PM, "David T.H. Kao" [email protected] wrote:

I had meant a command line flag, but I guess consistency is good too. :)

Doe this only affect stdout, or also the log files as well?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/mobly/issues/278#issuecomment-319255871, or mute the thread https://github.com/notifications/unsubscribe-auth/ACI25QpAa16JaqDQu66q8Ek6gyTlDxBGks5sTpe8gaJpZM4Om60- .

xpconanfan avatar Aug 01 '17 03:08 xpconanfan

This is done

xpconanfan avatar Jan 24 '23 18:01 xpconanfan