Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to turn off logging? #1

Open
olafthiele opened this issue Sep 19, 2020 · 8 comments
Open

How to turn off logging? #1

olafthiele opened this issue Sep 19, 2020 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@olafthiele
Copy link

Great lib, is there any way to turn standard logging off?

@SLYtiger16
Copy link
Owner

What logs are you getting?

@olafthiele
Copy link
Author

Yep, sorry, should have provided some more info:

processing..
iCAL-PARSER: 1 events parsed
iCAL-PARSER: 1 events parsed
iCAL-PARSER: 1 events parsed

I guess it is from one of the libs you are using?

@SLYtiger16
Copy link
Owner

SLYtiger16 commented Sep 22, 2020

This is from the library ical-parser. That library currently does not have a verbosity flag to change. I will see about forking their code to add that in, it has bugged me as well seeing those logs.

@SLYtiger16
Copy link
Owner

Updated to 1.6.2. Use setting parserLogging: true/false to toggle logs.

@olafthiele
Copy link
Author

Lovely, that was fast. Thanks and all the best

@olafthiele
Copy link
Author

Thanks,
please add the async package, you probably have it globally :-)

And the new version doesn't work for me. I get

I20200923-22:40:31.320(2)? processing..
I20200923-22:40:31.355(2)? processing..
I20200923-22:40:33.275(2)? processing..

But no events are returned, strange ... did you change anything else?

@SLYtiger16 SLYtiger16 reopened this Nov 27, 2020
@SLYtiger16
Copy link
Owner

I will take a look at this

@SLYtiger16 SLYtiger16 added the bug Something isn't working label Nov 27, 2020
@SLYtiger16 SLYtiger16 self-assigned this Nov 27, 2020
@olafthiele
Copy link
Author

Solved by #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants