Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to run Firefox in cookie-logging mode as described here:

However, that page was last modified 09:10, 7 Feb 2008 - (its May 2012 now) and may or may not be out of date.

I followed the instructions and did not manage to get any results in my log file. Before I try, try and try again I'd like to know where I can find the most up-to-date instructions on how to do this.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The page hasn't been modified in 4 years because the instructions haven't changed, either. I have just verified that putting NSPR_LOG_MODULES=cookie:4 in the environment works with Firefox 12.0 on Windows XP.

If it does not work for you, it could be that Firefox is not permitted to write to the log file – try telling Firefox to log everything to a console window instead:

C:\> set NSPR_LOG_MODULES=cookie:4
C:\> set NSPR_LOG_FILE=     (empty value)
C:\> start firefox -console
$ export NSPR_LOG_MODULES=cookie:4
$ unset NSPR_LOG_FILE
$ firefox -console
share|improve this answer
    
Thanks. Yes you are correct. I tried it again and it worked. I must have done a typo somewere and then I lost confidence in the instructions cos of the warning message at: www-archive.mozilla.org/projects/netlib/cookies/cookie-log.html –  JW. May 19 '12 at 9:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.