![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error in messages file | FredSmith | UNIX for Dummies Questions & Answers | 1 | 03-20-2007 10:04 AM |
| messages file memory error | sun-days | UNIX for Advanced & Expert Users | 1 | 01-06-2007 02:41 AM |
| syslog messages every minute | hcclnoodles | SUN Solaris | 1 | 11-06-2006 10:20 AM |
| sort syslog messages | 3Gmobile | Shell Programming and Scripting | 1 | 08-10-2006 11:00 PM |
| redirect standard error into log file | epall | UNIX for Dummies Questions & Answers | 7 | 05-09-2006 06:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello,
I am New to Unix. I am Using HP-UX 9000 Series for my Application. I am Currently Facing an Issue that the error messages are being written in the syslog file instead of the Application Log File. The Codes for that Syslog.h is written in Pro*C. I want to know how to Redirect these Error Messages from the syslog Files to the Application Log Files. Is there any Code Changes Required,If so Please send me a Sample Code so that it will be of some use for me. Help of any kind will of Greatful to me. With Regards, Bala. |
|
||||
|
That won't work - what the OP means is that the ProC progam is calling syslog(). I assume that since it is the easiest way to write to the sytem log.
One solution is to write a cron job that greps out recent entries from the app - if you can identify them - from the syslog. |
|
||||
|
Is there a non-standard syslog.h header file that the Pro*C program is using? The one that is included with the OS is in the "/usr/include" directory. Can you attach the source code of the Pro*C program.
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|