[webkit-help] Log file location

Adam Roben aroben at apple.com
Sat Jun 19 08:44:58 PDT 2010


On Jun 17, 2010, at 1:20 AM, Eric Zhou wrote:

> Hi all,
>
> Sorry to bother.
> When debug-safari script is running, where is the log file for safari?
>
> For example, in resourcehandlecfnet.cpp, line 442,
> LOG(Network, "CFNet - Starting URL %s (handle=%p, conn=%p)", d- 
> >m_request.url().string().utf8().data(), this, d->m_connection);

The LOG macro prints to stderr. But all logging is compiled out in  
Release builds, and disabled by default in Debug builds (it's  
controlled by the flags in Logging.cpp). Each port has a different way  
to enable logging in Debug builds. What platform are you using?

-Adam



More information about the webkit-help mailing list