oracleÆô¶¯ÈÕÖ¾ÔÚÄÇÀï
oracleÆô¶¯ÈÕ־λÓÚoracle_homeĿ¼ÏµÄlogsÎļþ¼ÐÖУ¬ÏêϸµÄ·¾¶ÃûÌÃÈçÏ£ºlinux/unix£º$oracle_home/logs//alert_.logwindows£º%oracle_home%\logs\\alert_.log
Oracle Æô¶¯ÈÕ־λÖÃ
Oracle Æô¶¯ÈÕ־λÓÚ Oracle ×°ÖÃĿ¼µÄÈçÏÂλÖãº
Linux/Unix£º $ORACLE_HOME/logs/ /alert_ .log
Windows£º %ORACLE_HOME%\logs\ \alert_ .log
ÆäÖУº
ÊÇ Oracle ʵÀýµÄÃû³Æ¡£
ÊÇÈÕÖ¾Îļþ½¨ÉèµÄÈÕÆÚ¡£
¸ÃÈÕÖ¾Îļþ¼Í¼ÁË Oracle ʵÀýÆô¶¯ºÍ¹Ø±Õʱ´ú±¬·¢µÄÊÂÎñ£¬°üÀ¨¹ýʧºÍÖÒÑÔÐÂÎÅ¡£Ëü¹ØÓÚÕï¶ÏÏ¢Õù¾öÆô¶¯ÎÊÌâºÜÊÇÓÐ×ÊÖú¡£
ÔõÑùÉó²é Oracle Æô¶¯ÈÕÖ¾
ÒªÉó²é Oracle Æô¶¯ÈÕÖ¾£¬ÇëʹÓÃÎı¾±à¼Æ÷£¨Èç Notepad »ò vi£©·¿ª¸ÃÎļþ¡£ÈÕÖ¾ÎļþÊÇ ASCII Îı¾Îļþ£¬¿ÉÒÔÇáËÉÉó²é¡£
ÈÕÖ¾ÎļþÃûÌÃ
Oracle Æô¶¯ÈÕ־ʹÓÃÒÔÏÂÃûÌãº
[timestamp] [level] [component] [message]
µÇ¼ºó¸´ÖÆ
ÆäÖУº
timestamp£º ÈÕÖ¾ÌõÄ¿½¨ÉèµÄʱ¼ä´Á¡£
level£º ÈÕÖ¾ÌõÄ¿µÄÑÏÖØÐÔ¼¶±ð£¨ÀýÈ磬ÐÅÏ¢¡¢ÖÒÑÔ»ò¹ýʧ£©¡£
component£º ÌìÉúÈÕÖ¾ÌõÄ¿µÄ Oracle ×é¼þ»òÄ£¿é¡£
message£º ÈÕÖ¾ÌõÄ¿µÄÎı¾ÐÎò¡£
ÒÔÉϾÍÊÇoracleÆô¶¯ÈÕÖ¾ÔÚÄÇÀïµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡