Cef log file doesn't written to C:\ folder

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Cef log file doesn't written to C:\ folder

Postby ValentinNikin » Thu Jul 29, 2021 10:08 am

I experimented with CefSettings LogFIle parameter, and came across with the next behavior:
If I set this parameter to some protect folder, Cef log doesn't writtent. And seems, it's ok, because if I run my app with admin privileges file with log created.
I would like there to be some warning about log file can't written to the folder. Is it possible?
ValentinNikin
Techie
 
Posts: 34
Joined: Fri Jun 18, 2021 1:37 am

Re: Cef log file doesn't written to C:\ folder

Postby amaitland » Thu Jul 29, 2021 3:18 pm

There's no built in support. You can however implement checks of your own before you call Cef.Initialize.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1011
Joined: Wed Jan 14, 2015 2:35 am

Re: Cef log file doesn't written to C:\ folder

Postby ValentinNikin » Thu Jul 29, 2021 3:57 pm

Ok, I see. Thank you
ValentinNikin
Techie
 
Posts: 34
Joined: Fri Jun 18, 2021 1:37 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 1 guest