mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
bug 583636 make cookie logging work in release builds
r=dwitte a=dbaron --HG-- extra : rebase_source : 98390eebae433930799ebe4d70bce5bb9667232f
This commit is contained in:
parent
a6d7d9055f
commit
9e52ebaa8a
@ -39,6 +39,12 @@
|
|||||||
*
|
*
|
||||||
* ***** END LICENSE BLOCK ***** */
|
* ***** END LICENSE BLOCK ***** */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef MOZ_LOGGING
|
||||||
|
// this next define has to appear before the include of prlog.h
|
||||||
|
#define FORCE_PR_LOG // Allow logging in the release build
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MOZ_IPC
|
#ifdef MOZ_IPC
|
||||||
#include "mozilla/net/CookieServiceChild.h"
|
#include "mozilla/net/CookieServiceChild.h"
|
||||||
#include "mozilla/net/NeckoCommon.h"
|
#include "mozilla/net/NeckoCommon.h"
|
||||||
@ -204,8 +210,6 @@ struct nsEnumerationData
|
|||||||
// set NSPR_LOG_MODULES=cookie:4 -- shows accepted and rejected cookies
|
// set NSPR_LOG_MODULES=cookie:4 -- shows accepted and rejected cookies
|
||||||
// set NSPR_LOG_FILE=cookie.log
|
// set NSPR_LOG_FILE=cookie.log
|
||||||
//
|
//
|
||||||
// this next define has to appear before the include of prlog.h
|
|
||||||
#define FORCE_PR_LOG // Allow logging in the release build
|
|
||||||
#include "prlog.h"
|
#include "prlog.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user