[Coco] DriveWire 4 seg fault under Linux Mint...

Aaron Wolfe aawolfe at gmail.com
Tue Nov 11 10:46:37 EST 2014


On Nov 11, 2014 10:36 AM, "Jens" <CoCoList at jensdiemer.de> wrote:
>
> Am 11.11.2014 um 16:20 schrieb Aaron Wolfe:
>
>> Eventually when/if it is released yes there will be a sniffer.  In the
>> meantime, you can log all bytes to the log file with options in the
>> config.xml, but this is only useful in certain situations.
>
>
> How can i do this?
>
> I have there log settings:
>
> <LogLevel category="server,logging"
list="ALL,DEBUG,INFO,WARN,ERROR,FATAL" type="list">ALL</LogLevel>
> <LogToConsole category="logging" type="boolean">true</LogToConsole>
> <LogFormat category="advanced,logging" type="string"/>
> <LogToFile category="logging" type="boolean">true</LogToFile>
> <LogFile category="logging"
type="file">..\\DriveWire4.3.30Server.log</LogFile>
>
>
> That should log everything, isn't it?
>
>
> Is there more to do, to see the raw communication?
>

Those are global, there are additional options for what is logged per
instance inside each <instance> element.

If they aren't present in your config, here are all of them.  The one you
probably want is LogDeviceBytes.  All bytes on the serial port,  it is very
verbose!  Of limited practical use.

<LogOpCodePolls category="logging,advanced" type="boolean">false
</LogOpCodePolls>

<LogOpCode category="logging,advanced" type="boolean">false
</LogOpCode>

<LogDeviceBytes category="logging,advanced" type="boolean">false
</LogDeviceBytes>

<LogMIDIBytes category="logging,advanced" type="boolean">false
</LogMIDIBytes>

<LogVPortBytes category="logging,advanced" type="boolean">false
</LogVPortBytes>

<LogTiming category="logging,advanced" type="boolean">false
        </LogTiming>


More information about the Coco mailing list