Results 1 to 2 of 2

Thread: Zarafa Tracing, How to Enable in Compiling from source?

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    1

    Zarafa Tracing, How to Enable in Compiling from source?

    Hi,
    How can I enable the tracing in zarafa open source?
    for example this line in mapi4linix/src/mapix.cpp:786
    TRACE_MAPILIB1(TRACE_ENTRY, "M4LMsgServiceAdmin::ConfigureMsgService", "%s", lpProps ? PropNameFromPropArray(cValues, lpProps).c_str() : "<null>");
    and where is the output of this line? stderr, /var/log/zarafa/server.log, ... ?

    should i have a parameter in Configure such as --enable-trace?
    thanks.

    Post added 16-10-2012 at 04:44 PM:

    and another point, when I add the --enable-debug in configure in zarafa-7.1.0 I got a lot of errors:
    for example:

    ECFifoStream.cpp: In member function ‘virtual ULONG ECFifoStreamReader::xStream::AddRef()’:
    ECFifoStream.cpp:171:46: error: too few arguments to function ‘void TraceMapi(int, char*, char*, ...)’
    Trace.h:58:6: note: declared here
    ECFifoStream.cpp: In member function ‘virtual ULONG ECFifoStreamReader::xStream::Release()’:
    ECFifoStream.cpp:178:47: error: too few arguments to function ‘void TraceMapi(int, char*, char*, ...)’
    Trace.h:58:6: note: declared here

  2. #2
    Senior Member
    Join Date
    May 2006
    Location
    Delft / Amsterdam
    Posts
    179
    Hello,

    --enable-debug should enable the trace messages, the messages will appear on stdin/stderr. but since it not compiled with the option --enable-debug i have created a ticket


    Regards,

    Michel

Similar Threads

  1. Error Compiling Zarafa V7.1.0 and V7.1.1 (beta) from Source
    By mniehren in forum Installation, Configuration and Maintenance
    Replies: 9
    Last Post: 02-12-2012, 03:30 PM
  2. Replies: 1
    Last Post: 09-07-2012, 07:16 AM
  3. Compiling Source (OpenBSD)
    By kronic in forum C++ Development
    Replies: 7
    Last Post: 29-12-2011, 10:58 PM
  4. Compiling Zarafa on an ARM CPU
    By chatweazle in forum Installation and Configuration Archives
    Replies: 22
    Last Post: 31-03-2011, 10:35 AM
  5. Compiling from source on Debian Lenny (5.0.3)
    By john in forum Installation and Configuration Archives
    Replies: 0
    Last Post: 25-11-2009, 04:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •