Escolar Documentos
Profissional Documentos
Cultura Documentos
software runs, or messages between different users of a communication software. [citation needed] Logging is
the act of keeping a log. In the simplest case, messages are written to a single logfile.
Local Logs
Each SAP System application server has a local log that receives all the messages output by this server.
The system log records these messages in a circular file on the server. When this log file reaches the
maximum permissible length, the system log overwrites it, starting over from the beginning. (The
location of the local log is specified in the rslg/local/file profile parameter.)
Central Logs
We recommend that you also maintain a central log file on a selected application server. Each
individual application server then sends its local log messages to this server. The server that you
designate to maintain the central log collects the messages from the other application servers and
writes these messages to the central log.
The central log consists of two files: the active file and the old file. (The location of the active file is
specified in therslg/central/fileprofile parameter; the location of the old file is specified in
therslg/central/old_file.)
The active file contains the current log. When it reaches the maximum size, the system performs a "log
file switch". It deletes the old log file, makes the previously active file the old file, and creates a new
active file. The switch occurs when the size of the active log file is half the value as specified in
therslg/max_diskspace/central parameter. (Note: the SAP System does not support the saving of old
system log files. If you want to save old logs, then you must archive them yourself.)
If you use Windows NT or AS/400, then note the following:
- Central logging is not available on the Windows NT and AS/400 platforms.
- Per default, the profile parameter rslg/collect_daemon/host should be set correctly. However, if you
receive warnings, then make sure that this parameter is set to NONE.
- For these platforms, you can use the All remote syslogs function from transaction SM21 to read the
data of all the instances in your SAP System. In the alert monitor, if you receive an alert, you can use
the Remote syslogfunction to analyze the affected instance.
Log Files
Use
The database system, database tools and interfaces write information and error messages in log files.
Most log files are text files that you can read with a text editor.
Exceptions:
Binary log files
Log files that are only generated by the database system when requested by a user
To display the contents of such log files, use the Database Manager database tool, or the CCMS in SAP
systems. You need the file ID of the log file.
Note that file IDs are case-sensitive.
See
Database Manager GUI,
Reading Log Files
Database Manager CLI,
file_getfirst
Database Administration in CCMS: MaxDB,
Logs and
Messages
Database Administration in CCMS: SAP liveCache Technology,
Logs and
Kernel Logs
Messages
File
Name
Directory
File ID
Description
knldiag
KNLDIAG
knlmsg
KNLMSG
File Name
Directory
File ID
Contents
<database_name>.pah
<independent_data_path>\config
DBMPAHI
<database_name>.prt
knldump
KNLDUMP
knlmini.dmp
knltrace
KNLTRC
MaxDBInstanceCreation_in <independent_data_path>\wrk
stall-<date-ID>.log
rtedump
RTEDUMP
Logging
File
File ID Contents
Name
Directory
lcinit.lo
g
LCINIT
<independent_data_path>\wrk\<database_nam
e>
File Name
Directory
File ID
Contents
dbahist.prt
<independent_data_path>\wrk\<database_n DBAHIST
ame>\dbahist
For SAP
systems only
Log of the
database
administratio
n activities
dbm.ebf
Only for
backup tools
from other
providers
Backup
history,
includes
backup IDs,
external
backup IDs
and error
messages
If a backup
tool
successfully
executed a
backup but
could not
determine
the backup
ID, it enters
the backup
as failed in
the backup
history.
dbm.ebp
BACKEBP
Only for
backup tools
from other
providers
The log of the
last backup
dbm.ins
INSTPRT
Log of
loading/updat
ing the
system tables
dbm.knl
BACKHIST
Backup
history
Contains all
backups and
restore
actions. If no
backups have
yet been
executed or
the backup
history was
interrupted,
HITSLOST is
displayed.
For
information
about the log
files of
backup tools
from other
providers,
see the
respective
documentatio
n.
dbm.mdf
BACKMDF
History of the
backup
templates
used for the
backups
dbm.prt
DBMPRT
Log of the
DBM Server
Contains all
administratio
n commands
sent to the
DBM Server
dbm.utl
UTLPRT
Contains
administratio
n commands
sent from the
DBM Server
to the
database
kernel
dbmsrv_<database_comput <independent_data_path>\wrk
er>
DBMSRV
Instance
independent
log of the
DBM Server
dbmsrv_<database_comput <independent_data_path>\wrk
er>.dmp
DBMSRVMINIDUM
P
Memory
dump saved
by the DBM
server in case
of a crash
Contains
stack and
memory
segments
Can be used
for postmortem
debugging
File Name
Directory
File ID
loader.log
<loader_appplication_data>\log
loader.log
<independent_data_path>\wrk
Contents
Log of the Loader
LOADER
loader_<timestamp>.lo <loader_user_data>\packages
g
transport.log
Transformation history
<loader_application_data>\package
s
See also:
Loader,
Log File,
Transformation History
X Server Log Files
File Name
Directory
File ID
Contents
File Name
Directory
DBAN.prt
<independent_data_path>\wrk\anal ANALYZER#\DBAN.prt
yzer
DBAN.inf
<independent_data_path>\wrk\anal ANALYZER#\DBAN.inf
yzer
DBAN.err
<independent_data_path>\wrk\anal ANALYZER#\DBAN.err
yzer
Other
files
File ID
Contents
ANALYZER#\<date>
log
File
Name
Directory
File ID
Contents
File Name
Directory
File ID Contents
Your choice
Defined in the file MSGSERVER.XML
Your choice
Defined in the file MSGSERVER.XML