What is a server diary?
The server's diary is to record the whole process of Website access, the time, time, people, search engines, and web pages. From the first day of your website's work, you have a diary.
How can I view my server diary? (Take Windows 2003 as an example)
1. Start-management tools-Event Viewer-system or control panel-management tools-Event Viewer-system.
2. Run ie on the remote client and enter "https: // Win2003 Server IP Addre
to the first line.
5.sed
This command can look for a specific section of a log file, or it can be queried based on a range of times
By line number
sed-n ' 5,10p ' filename//So you can view only the 5th line to the 10th line of the file.
//According to the time period
sed-n '/2014-12-17 16:17:20/,/2014-12-17 16:17:36/p ' test.log
6.less
Less
the log.log shift + G command to the end of the file and then enter. Plus the keywords you want to
changes, exit VISet NuShow line NumbersOr?Find, enter what you are looking for in/afterNwith/or, if the search is not the keyword you are looking for, press N or backwards (with/to) or forward (with?) to continue looking until you find it.For the first use VI, there are a few notes to remind:1. When you open a file with VI, you are in command mode, and you want to switch to insert mode to enter text. Toggle method: Click on the letter "i" "Command mo
NetweaverTo log logs you need to have a checkpoint group that you can create yourself or use the standard. Here I reuse the standard group:demo_checkpoint_group.Tcode SAAB, point display NetWeaver's log records are mostly user-level based, which is a bit more convenient. Create a configuration to open the log switch for the user who wants to open the log record:Creating a new report name is called Zcontext,
Zookeeper startup: Execute sh tomcat/bin/startup. sh stop: Execute sh tomcat/bin/shutdown. sh script command view: Execute ps-ef | grep tomcat to output the following *** 5144... Wait. Bootstrap start indicates that tomcat has been started normally, and the process ID pid = 5144 is set to 5144.Kill: kill-9 5144---------------------- View tomcat running logs in re
Today, when deploying a project to a Linux server, it has been an error, but there is no record in the log file. But there was no error in the local test, there was no error on the Windoesserver server, there was no reason to find it, so I wanted to see the running logs of Tomcat in real time. 1, first switch to: cd usr/local/tomcat5/logs2-F Catalina.out3, so the runtime can
information is present, Tomcat is turned offRoot 7010 1 0 Apr19? defunct >Finally, start TomcatNote: Log in to the Linux system using the root user, enter the Tomcat directory correctly, and then boot Tomcat after you have determined that Tomcat is closed, otherwise the newspapers port will be occupied abnormally.View the Tomcat log1, first switch to: CD usr/local/tomcat5/logs2, Tail-f Catalina.out3, so that the runtime can
Error Log switch and view, SqlServer log
SQL Server logs and Agent error days are generally automatically switched after the instance is restarted. If the instance has not been restarted for a long time, too many logs may be accumulated, which is inconvenient to view.
Log
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.