HI Mark, hi Ryan,
thanks for the input, I can pretty reliably see the output in the sync
files now.

I see errors on the console/toolbox as well, but I am guessing that it
doesn't show Debug for JS as I can't tick in the menu what level to show.
Can I see more there?

@Mark: I was using All as the comment in [1] refers to ALL and I am not yet
familiar with what to use.

For anybody else reading this in the future, you need to set both
services.sync.log.appender.console services.sync.log.appender.dump
everytime you start a new sync, as they get overwritten with starting a new
connection.

Thanks
Peter


[1]
https://dxr.mozilla.org/mozilla-beta/source/services/fxaccounts/Credentials.jsm#32





On Wed, Jul 20, 2016 at 12:51 PM, Mark Hammond <[email protected]> wrote:

> I think you want "All" instead of "ALL". You probably also need the pref
> browser.dom.window.dump.enabled=true to see output in your shell's console.
>
> In general, to see everything:
>
> * every pref matching "services\.sync\.*.log.level" (roughly ;) set to
> "All"
>
> Then to control where you see it:
>
> * to also see it in the toolbox, set services.sync.log.appender.console=All
> * to also see it in the browser shell, set
> services.sync.log.appender.dump=All
> * there's another pref for the file logging as seen in about:sync-log, etc
>
> Mark.
>
>
> On 20/07/2016 7:34 PM, Peter Meier wrote:
>
>> Hi,
>> I am looking into the protocol and I am trying to understand how the
>> signup works. There are a lot of log.debugs in the code (e.g. [1]). I
>> have set the following prefs to All:
>>
>> |identity.fxaccounts.log.appender.dump;ALL|
>>
>> |identity.fxaccounts.loglevel;ALL|
>>
>> |services.sync.log.appender.console;ALL
>> |
>>
>> |services.sync.log.appender.dump;ALL
>> |
>>
>> services.sync.log.appender.file.logOnSuccess;true
>>
>> And I thought this should lead to seeing the output directly in the
>> browser toolbox, but I only see the standard url calls.
>>
>> I have also enabled chrome and remote debugging in the toolbox settings.
>>
>>
>> Any ideas on how I get to see the output to the console/browser toolbox?
>>
>> Thanks
>> Peter
>>
>>
>> [1]
>> https://dxr.mozilla.org/mozilla-beta/source/services/fxaccounts/FxAccounts.jsm#1041
>>
>>
>> _______________________________________________
>> Dev-fxacct mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/dev-fxacct
>>
>>
_______________________________________________
Dev-fxacct mailing list
[email protected]
https://mail.mozilla.org/listinfo/dev-fxacct

Reply via email to