08-05-2008
How to disable application level logs in Unix?
Hi,
I'm working in an application and the related Java code and the envrionment is in Unix server. We are generating the log messages using loggers of Java.util.log . But, the logs are not getting generated in the log files.
We feel that the people who developed the system might have done some settings to disable the application level logs.
So, our question is
Is there a way in Unix to enable the application level logs?
Thanks in Advance for your valuable suggestions.
Best Regards,
El
Last edited by kelangovan; 08-05-2008 at 10:28 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
2. UNIX for Dummies Questions & Answers
How can you determine the level ot the operating system
on an HP UNIX System? (2 Replies)
Discussion started by: aschmid
2 Replies
3. Solaris
what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies
4. Solaris
Hi
Is there anyway to disable all logs/logging (lastlog, sulog, messages etc.) in Solaris 9&10? I know this is not recommended but i just want to know if this is possible.
TIA
Reddy (8 Replies)
Discussion started by: reddyr
8 Replies
5. UNIX for Advanced & Expert Users
Hi
We are facing Application hanging issue from users who log in to applications from the server. But through other server , all the transactions are working fine.
Now how can i can compare the OS level parameter setting on both servers.
Or please suggest me your ideas to debug thes... (1 Reply)
Discussion started by: susa_dgl
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I will execute a query in sqlplus and redirect to a file.
The file will contains the date value such as 2011-04-12 02:00:00.
i want to make the content of the file such as,
select * from table where col1>to_date('2011-04-12 02:00:00','yyyy-mm-dd HH24:MI:SS').
Apar from the bold... (1 Reply)
Discussion started by: pandeesh
1 Replies
7. Shell Programming and Scripting
Hi Experts,
I am new to shell.How to extract logs (Web,APP,Database) using shell in performance testing?
Need for webserver logs,app server logs and d/b logs code.
Thanks in advance
Sree (3 Replies)
Discussion started by: sree vasu
3 Replies
8. Red Hat
We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies
9. Shell Programming and Scripting
Guys, is there a script or command?
how to disable cron emails, but only for logrotate only not for other logs (3 Replies)
Discussion started by: kenshinhimura
3 Replies
10. AIX
Hi ,
User claims that report refresh is taking longer time than usual time and asking us to disable async IO at OS level.
1 DB is running in this server
This is prod server
OS -- AIX
My question is would there be an impact to database and server if we disable async IO in OS?
is this... (4 Replies)
Discussion started by: Maddy123
4 Replies
LEARN ABOUT DEBIAN
vlogger
VLOGGER(1) User Contributed Perl Documentation VLOGGER(1)
NAME
vlogger - flexible log rotation and usage tracking in perl
SYNOPSIS
vlogger [OPTIONS]... [LOGDIR]
DESCRIPTION
Vlogger is designed to make webserver log rotation simple and easy to manage. It deals with VirtualHost logs automatically, so only one
directive is required to manage all hosts on a webserver. Vlogger takes piped output from Apache or another webserver, splits off the
first field, and writes the logs to logfiles in subdirectories. It uses a filehandle cache to avoid resource limitations. It will start a
new logfile at the beginning of a new day, and optionally start new files when a certain filesize is reached. It can maintain a symlink to
the most recent log for easy access. Optionally, host parsing can be disabled for use in ErrorLog directives.
To use vlogger, you need to add a "%v" to the first part of your LogFormat:
LogFormat "%v %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
Then call it from a customlog:
CustomLog "| /usr/sbin/vlogger -s access.log -u www-logs -g www-logs /var/log/apache" combined
OPTIONS
Options are given in short format on the command line.
-a Do not autoflush files. This may improve performance but may break logfile analyzers that depend on full entries in the logs.
-e ErrorLog mode. In this mode, the host parsing is disabled, and the file is written out using the template under the specified
LOGDIR.
-n Disables rotation. This option disables rotation altogether.
-f MAXFILES Maximum number of filehandles to keep open. Defaults to 100. Setting this value too high may result in the system run-
ning out of file descriptors. Setting it too low may affect performance.
-u UID Change user to UID when running as root.
-g GID Change group to GID when running as root.
-t TEMPLATE Filename template using Date::Format codes. Default is "%m%d%Y-access.log", or "%m%d%Y-error.log". When using the -r
option, the default becomes "%m%d%Y-%T-access.log" or "%m%d%Y-%T-error.log".
-s SYMLINK Specifies the name of a symlink to the current file.
-r SIZE Rotate files when they reach SIZE. SIZE is given in bytes.
-d CONFIG Use the DBI usage tracker.
-h Displays help.
-v Prints version information.
DBI USAGE TRACKER
Vlogger can automatically keep track of per-virtualhost usage statistics in a
database. DBI and the relevant drivers (eg. DBD::mysql) needs to be installed for
this to work. Create a table in your database to hold the data. A "mysql_create.sql"
script is provided for using this feature with MySQL. Configure the dsn, user, pass
and dump values in the vlogger-dbi.conf file. The "dump" parameter controls how often
vlogger will dump its stats into the database (the default is 30 seconds). Copy this
file to somewhere convienient on your filesystem (like /etc/apache/vlogger-dbi.conf) and
start vlogger with "-d /etc/apache/vlogger-dbi.conf". You might want to use this feature
to easily bill customers on a daily/weekly/monthly basis for bandwidth usage.
SEE ALSO
cronolog(1), httplog(1)
BUGS None, yet.
AUTHORS Steve J. Kondik <shade@chemlab.org>
WWW: http://n0rp.chemlab.org/vlogger
perl v5.8.6 2005-03-18 VLOGGER(1)