Debug.log file growing in size

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Debug.log file growing in size

Postby pravinD » Thu Aug 20, 2020 11:29 am

I have applied log severity from default to error. But could see that debug.log file logs multiple lines as below and eventually this file size reaches to 240MB which is bit huge.

[0623/125023.215:ERROR:content_client.cc(240)] No localized string available for id 20314
[0623/125023.215:ERROR:content_client.cc(240)] No localized string available for id 20320
[0623/125023.215:ERROR:content_client.cc(240)] No localized string available for id 20317
[0623/125023.215:ERROR:content_client.cc(240)] No localized string available for id 20313
[0623/125023.215:ERROR:content_client.cc(240)] No localized string available for id 20311
[0623/125023.215:ERROR:content_client.cc(240)] No localized string available for id 20321

what is this id number here? And why such logging occurs?

I went trough this post -> viewtopic.php?f=6&t=11709
And want to know if the answer to this query is still the same? or we have any other way to delete this file?
pravinD
Newbie
 
Posts: 3
Joined: Thu Aug 20, 2020 11:17 am

Re: Debug.log file growing in size

Postby magreenblatt » Thu Aug 20, 2020 11:47 am

Are you missing the *.pak files?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Debug.log file growing in size

Postby pravinD » Fri Aug 21, 2020 7:59 am

Thanks for the reply !

I will check for *.pak files missing on system.

Also want to know whether controlling this file is still the same? The older post was about 6 years ago. And the reply to that post was as below

Code: Select all
"You can disable the debug log using CefSettings.log_severity or have your application delete the log file on startup before calling any CEF functions. Otherwise it will just keep growing."


This are the only way we control it or do we have any CEF API which we can call it from application to erase the contents of this file?
Thanks for help!
pravinD
Newbie
 
Posts: 3
Joined: Thu Aug 20, 2020 11:17 am

Re: Debug.log file growing in size

Postby magreenblatt » Fri Aug 21, 2020 10:21 am

There is no API currently for erasing the file while the application is running.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Debug.log file growing in size

Postby pravinD » Mon Aug 24, 2020 4:12 am

Thanks for the reply. I got the answers to my queries :)
pravinD
Newbie
 
Posts: 3
Joined: Thu Aug 20, 2020 11:17 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 56 guests