. Net rapid development integration framework (rdiframework. Net)
5.4 platform logs, exception management, and automatic configuration file generation
. Net rapid development integration framework (rdiframework. Net), A. Net-based rapid development and integration framework, provides users and developers with the best. NET Framework Deployment Solution.
5.4 platform log
Preface to Logger succession diagramIn the process of automated test practice, it is necessary to do log management, easy debugging and production problem tracking, Python provides logging module for log management. Below we will take a layer of logging module learning and use to promote the demonstration learning.Pyth
appropriate size.Online redo log exceptions (log inconsistency, loss, corruption) processing:1) Log file inconsistency: Empty the inconsistent log group, and the Oracle database can be shut down to empty the log file at startup.Sql> ALTER DATABASE clear logfile Group N; ---
Appropriate log management tools can greatly reduce the burden on managing enterprise system log data. However, unless organizations put a certain amount of time and effort into this tool, the best tool will soon become a poor tool.
The layman uses the tool and is still a layman.
If you are not prepared to spend time and energy installing and managing
PrefaceIn the process of automated test practice, it is necessary to do log management, easy debugging and production problem tracking, Python provides logging module for log management. Below we will take a layer of logging module learning and use to promote the demonstration learning.Python's logging module provides
Several log management methods under. net
Logs are applicationsProgramIt can not only record the running status of the application, but also record some bugs to facilitate application updates and modifications.There are several methods to manage logs in. net.1. database logs.2. Text logs.3. System Event Logs.
First, it is easy to use and convenient for database logs. We will not discuss it too much here
Label:SQL Server database log files are actually composed of a number of logical log files, we can use the command to look at the database log file What you can see is that SQL Server database log files are composed of many files, when the database log file is full, auto-gro
Tags: SEL init MFS Set Management restart Equal tab commentFirst, log management
LOG: A file that records the current system, user, and program's working status1. Directory Location(1)系统、用户、RPM(YUM)安装:/var/log/目录下(2)源码安装:安装目录下,log
behavior monitoring in accton/vat/account/pacctStep 2: lastcomm -- user root check the commands used by the root userStep 3: Disable the monitoring service.5: actively add logsYou can use the logger command to manually add logs to a log file. Script maintenance can be used to mark logs.Log management must be backed up in a timely manner to control Log Access Per
be able to see what you've just done with the database is logged in the log file. watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvy2fsbxjlyxnvbg==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center "> Note
Path does not have spaces
Backslashes are best written in paths below Linux
Don't write in a line with the # sign staring at the beginning
Set the size of the log
Whether or not a system is secure or not, or if there is a problem but the cause cannot be found, the first thing that comes to mind is log management and how to view logs.
Log Management;
System log configuration file/etc/syslog. conf
Start
Log on using the management terminal
Management terminal as a different from the common Remote Connection tool, in the ordinary Remote tools (such as Putty, Xshell, SECURECRT, etc.) can not be used, you may through the management terminal into the Cloud server login interface, view the server interface at the time
, this will record every action and detail of SQL query, very consumption of database IO, only in the time of debugging, open for a short time, usually is not recommended to open.Log-error: Error LogLog-bin: Binary LogLog-slow-queries: A slow query log that records query statements whose query time exceeds the number of seconds defined by Ong_query_time is recorded in the log file specified by this variable
Rdiframework.net━. NET rapid Information System development framework9.13 System log and System Exception Management-web Section A software can not be put into operation without any exception, in the event of software anomalies in time to record, also good we timely tracking anomalies to resolve the occurrence of anomalies, to avoid the recurrence of anomalies. Exceptions are divided into two cases, one for
System log Management 1. System log系统日志是记录系统中硬件、软件和系统问题的信息,同时还可以监视系统中发生的事件。用户可以通过它来检查错误发生的原因,或者寻找受到×××时×××者留下的痕迹。系统日志包括系统日志、应用程序日志和安全日志。2. System Log Default classification/var/log/messages 系统服务的日志,包括服务的信息,报错等等/var/log/secur
Architecture Design
-- Project log management system
Glossary
Architecture: a narrow architecture refers to the organizational structure of a project.
Implementation
The project log management system solution includes the following items.
The project. log. Com
, the log is added with a date, such as: log-20160101If not, the new log name is log and the old one is automatically changed to Log.12.logrotate configuration fileDaily: Log rotation cycle is dailyWeekly:
Apache optimized Application II (log management)DirectoryThe first part of the preparatory workSecond part installs Apache servicePart Three log management one (configuration log split)Part IV 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.