Upgrade to 1.2.4

Bug #1314576 reported by Joe Wood
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
log4c (Debian)
Fix Released
Unknown
log4c (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

I know you won't want to upgrade log4c in TT, but for the next release in October could we please move to the latest version 1.2.4, see sourceforge project page.

I'd like local time on my log messages not UTC. I could put a wrapper around the text message but it's not quite right.

Thanks

tags: added: upgrade-software-version
Revision history for this message
Joe Wood (joew60) wrote :

Just in case anybody else wants local time in the current version, I've attached two files to provide this facility.

You must call init_dated_local() prior to calling log4c_init(), e.g.

    if (init_dated_local() || log4c_init()) {
        err(EXIT_FAILURE, "log4c_init() failed");
    }

Compile layout_type_dated_local.c as normal, e.g

   gcc -c layout_type_dated_local.c

Link along these lines

   gcc -o a.out <project_files> layout_type_dated_local.o -llib4c

Use via log4crc e.g.

     <appender name="stdout" type="stream" layout="dated_local"/>

That's it.

Revision history for this message
Joe Wood (joew60) wrote :
Revision history for this message
Joe Wood (joew60) wrote :
Changed in log4c (Debian):
status: Unknown → New
Changed in log4c (Debian):
status: New → Fix Released
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Looks like it took some time, but log4c 1.2.4-2 is now available in the upcoming Ubuntu Eoan.

Changed in log4c (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.