Sponsored Content
Full Discussion: Logging library for C
Operating Systems AIX Logging library for C Post 302213757 by frank_rizzo on Thursday 10th of July 2008 11:34:37 PM
Old 07-11-2008
I don't think so. The log4c web site shows that AIX 5.3 is supported and working. Did you have issues building it?


Quote:
Platforms
log4c was successfully compiled and run on the following platforms :

* HP-UX release 11.00
* Tru 64 release 4.0F and 5.1
* Red Hat Linux Intel release 7.x, 8, 9
* Red Hat Enterprise Linux 3, 4
* Solaris Intel release 8, 9, 10
* FreeBSD 6.1-RELEASE
* AIX 5.3 (witk xlc compiler)
* Mac OS X
* Windows X
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

logging when someone changes to su

Is there a file that captures info whenever someone logs to su? i know it comes across as standard output on the server, but is it saved anywhere? Time and date info included?? thanks, kym (1 Reply)
Discussion started by: kymberm
1 Replies

2. Shell Programming and Scripting

How to change a Makefile from building static library to shared library?

Hi: I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library) Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Constant Logging In (After Logging Out)

Hi Everyone. First, I want to thank all of you for letting me participate in this great group. I am having a bit of a problem. After I get an email from a responder, I login to make my reply. In the mean time I get another response by email from another member, I go to reply to them and I... (6 Replies)
Discussion started by: Ccccc
6 Replies

4. Linux

./configure problem for libsf library due to apparently missing libdb library.

Hello, ./configure script fails to configure libsf. Please check the following last few lines of configure script error. checking for db1/db.h... no checking for db.h... yes checking for dbopen in -ldb1... no configure: error: No libdb? No libsf. But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies

5. AIX

Add shared members from library to same library in a different directory

I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message. add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies

6. Linux

Syslog not logging successful logging while unlocking server's console

When unlocking a Linux server's console there's no event indicating successful logging Is there a way I can fix this ? I have the following in my rsyslog.conf auth.info /var/log/secure authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies

7. Programming

C++ linking library to a library

Hi All, My application main engine will use a shared library where we do many operation. We are trying to implement the linear algebra operation on the shared library for that I need to link my shared library to the lapack library in /usr/lib. Below is my make file. Can you please let me... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
rollingpolicy_type_sizewin.h(3) 				       log4c					   rollingpolicy_type_sizewin.h(3)

NAME
rollingpolicy_type_sizewin.h - Log4c rolling file size-win interface. Log4c ships with (and defaults to) the classic size-window rollover policy: this triggers rollover when files reach a maximum size. The first file in the list is always the current file; when a rollover event occurs files are shifted up by one position in the list--if the number of files in the list has already reached the max then the oldest file is rotated out of the window. SYNOPSIS
#include <log4c/defs.h> #include <log4c/rollingpolicy.h> Typedefs typedef struct __sizewin_udata rollingpolicy_sizewin_udata_t Functions LOG4C_API rollingpolicy_sizewin_udata_t * sizewin_make_udata (void) LOG4C_API int sizewin_udata_set_file_maxsize (rollingpolicy_sizewin_udata_t *swup, long max_size) LOG4C_API int sizewin_udata_set_max_num_files (rollingpolicy_sizewin_udata_t *swup, long max_num) LOG4C_API int sizewin_udata_set_appender (rollingpolicy_sizewin_udata_t *swup, log4c_appender_t *app) Detailed Description Log4c rolling file size-win interface. Log4c ships with (and defaults to) the classic size-window rollover policy: this triggers rollover when files reach a maximum size. The first file in the list is always the current file; when a rollover event occurs files are shifted up by one position in the list--if the number of files in the list has already reached the max then the oldest file is rotated out of the window. If the max file size is set to zero, this means 'no-limit'. The default parameters for the size-win policy are 5 files of maximum size of 20kilobytes each. These parameters may be changed using the appropriate setter functions. Typedef Documentation typedef struct __sizewin_udata rollingpolicy_sizewin_udata_t log4c size-win rolling policy type Function Documentation LOG4C_API rollingpolicy_sizewin_udata_t* sizewin_make_udata (void) Get a new size-win rolling policy Returns: a new size-win rolling policy, otherwise NULL. LOG4C_API int sizewin_udata_set_appender (rollingpolicy_sizewin_udata_t *swup, log4c_appender_t *app) Set the rolling file appender in this rolling policy configuration. Parameters: swup the size-win configuration object. app the rolling file appender to set. Returns: zero if successful, non-zero otherwise. LOG4C_API int sizewin_udata_set_file_maxsize (rollingpolicy_sizewin_udata_t *swup, longmax_size) Set the maximum file size in this rolling policy configuration. Parameters: swup the size-win configuration object. max_size the approximate maximum size any logging file will attain. If you set zero then it means 'no-limit' and so only one file of unlimited size will be used for logging. Returns: zero if successful, non-zero otherwise. LOG4C_API int sizewin_udata_set_max_num_files (rollingpolicy_sizewin_udata_t *swup, longmax_num) Set the maximum number of filesin this rolling policy configuration. Parameters: swup the size-win configuration object. max_num the maximum number of files in the list. Returns: zero if successful, non-zero otherwise. Author Generated automatically by Doxygen for log4c from the source code. Version 1.2.1 Mon May 2 2011 rollingpolicy_type_sizewin.h(3)
All times are GMT -4. The time now is 02:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy