Recently, some customers have requested website logs for analysis. Because the newly installed server has an external system installed, a binary (. IBL) log function. This function is enabled by default in the off-star system. After this function is enabled, all websites on the server write log data to a single log file. The
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Logparser - O: CSV" Select C - IP, Count (C - IP) From Group By C - IP" > C: \ cccip.csv
C-IP
Log parser 2.2 is a powerful universal tool for text-based data (such as log files, XML files, and CSV files) and important data sources on Windows operating systems (such as Event Logs, registries, file systems, and Active Directory) for general queries. Log parser can comp
Com through. NET FrameworkInterOP(COM Interactive Operation) features, can be easily applied in. netProgramUsing Log parser,. NET Framework comInterOPIs implemented through runtime callable wrappers (RCW) for com operations, RCW is a class in. net.
Compiling environment: vs2005 C # First, add reference: logparser. DLL to your new project, and then it appears in the reference bar of your solution: msuti
1, install log Parser 2.2https://www.microsoft.com/en-us/download/details.aspx?displaylang=enid=24659https://gallery.technet.microsoft.com/Log-Parser-Studio-cd458765 Download and then unzip2. Run Log Parser StudioRun LPS.exe in th
simultaneouslyThen the above example, if during the startup process, suspected Moduleb behavior is an exception to hinder the execution of Modulea. The general practice is to divide two searches, one search Modulea related, one search Moduleb related. Can actually be put together to search:If Moduleb has the following log:Moduleb xxx run in step xxxModuleb xxx Run pass step XXXWe can use the regular expression "modulea.*event|moduleb.*step" to search, so that the
In a Linux system, after Tomcat starts, a lot of information is written to the Catalina.out file by default, and we can track tomcat and related applications running through the Tail-f catalina.out. Under Windows, when we started Tomcat with Startup.bat, we found that the Catalina log was very different from the conten
the so-called log framework, even in the process of building an SSH project, know that there is such a framework, know that the three frameworks are used in such a day framework for logging, but there is no active is to use, so at the beginning of the first time, I still use the most primitive system.out, to carry on the tracking of the log. In the project development of the project, encountered a problem,
] tomcat]# bin/startup.shUsing catalina_base:/usr/local/tomcatUsing Catalina_home:/usr/local/tomcatUsing Catalina_tmpdir:/usr/local/tomcat/tempUsing Jre_home:/usr/java/jdk1.6.0_29Using CLASSPATH:/usr/local/tomcat/bin/bootstrap.jarTo see if the log directory generates catalina.yymmdd.out
problem
Each time Tomcat starts, the following log files are automatically produced in the logs directory, and a file of the corresponding date is generated daily, resulting in numerous log files:
Localhost.2012-07-05.txt
Catalina.2012-07-05.txt
Manager.2012-07-05.txt
Host-manager.2012-07-05.txt
Purpose
Tomcat logs are
Reprint Address: http://blog.csdn.net/li_xiao_ming/article/details/21514637
problem
Each time Tomcat starts, the following log files are automatically produced in the logs directory, and a file of the corresponding date is generated daily, resulting in numerous log files:
Localhost.2012-07-05.txt
Catalina.2012-07-05.txt
Manager.2012-07-05.txt
Host-manager.2012
In Tomcat, access log is not set by default. Configure the following in the Server.xml file.
[HTML] view plain copy print? In general, Tomcat and Apache are used together, and Apache also has access log. TOMCA also set the words are not superfluous.
One advantage of access log
I used log4j in a struts project and posted it on Tomcat, but when I started Tomcat it was always impossible to specify the location of the log file.
If you specify this, when you start Tomcat, you always say that you cannot find the log file.
Log4j.appender.logfile.file=
??Start:is usually run sh tomcat/bin/startup.shStop:typically run the SH tomcat/bin/shutdown.sh script commandView:Run the Ps-ef |grep tomcat output such as the following* * * 5144..。 Wait a minute. Bootstrap startindicates that Tomcat has started normally. 5144 is the process number PID = 5144Kill:kill-9 5144View the
Tomcat automatic cutting log (Windows), tomcat CuttingStep 1: Obtain cronolog
Download cronolog-win32Step 2: Put cronolog.exe in the bin directory of tomcat after decompression Step 3: Modify the tomcat startup. bat file
Call "% EXECUTABLE %" start % CMD_LINE_ARGS %
Replace
This digest from: (http://blog.csdn.net/stevencn76/article/details/6246162)Category: Java technology zone 2011-03-13 12:25 5017 People read Comments (1) favorite reports Tomcatlinux Tool Task WebSince Tomcat produces log output from a web app that is not configured by default to its own log content, the size of the file will become larger over time, and the t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.