Skip to content

Improve logging for end user#6

Merged
johnyenter-briars merged 1 commit into
mainfrom
dev/improve-logging
Mar 29, 2023
Merged

Improve logging for end user#6
johnyenter-briars merged 1 commit into
mainfrom
dev/improve-logging

Conversation

@plohm12
Copy link
Copy Markdown
Collaborator

@plohm12 plohm12 commented Mar 29, 2023

No description provided.

@johnyenter-briars
Copy link
Copy Markdown
Collaborator

@plohm12 This all looks great! Quick question - what is the default logging level? Like will all of the LogInformation and LogDebug fire? Or will the user only see the LogInformation statements?

@plohm12
Copy link
Copy Markdown
Collaborator Author

plohm12 commented Mar 29, 2023

@johnyenter-briars yeah, the default log level for this app is Information, so Debug logs won't show. Here's a snippet of the output when I run it:

info: Calendula.CalendulaService[0]
      Syncing calendar
              from:   ****@*****.com
              to:     ****@*****.com
              start:  3/29/2023 1:43 PM
              end:    4/12/2023 1:43 PM

info: Calendula.CalendulaService[0]
      Updating event on 3/29/2023 1:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 3/29/2023 2:30 PM
info: Calendula.CalendulaService[0]
      Updating event on 3/30/2023 8:30 AM
info: Calendula.CalendulaService[0]
      Updating event on 3/30/2023 3:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 3/31/2023 8:30 AM
info: Calendula.CalendulaService[0]
      Updating event on 3/31/2023 12:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 4/3/2023 8:30 AM
info: Calendula.CalendulaService[0]
      Updating event on 4/3/2023 12:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 4/3/2023 1:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 4/3/2023 2:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 4/3/2023 3:00 PM
info: Calendula.CalendulaService[0]
      Updating event on 4/4/2023 8:30 AM
info: Calendula.CalendulaService[0]
      Updating event on 4/4/2023 10:00 AM

@johnyenter-briars johnyenter-briars merged commit a5a3d43 into main Mar 29, 2023
@plohm12 plohm12 deleted the dev/improve-logging branch March 29, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants