DBA Data[Home] [Help]

APPS.AMW_UTILITY_PVT dependencies on FND_LOG

Line 1810: /* This procedure inserts a record into the FND_LOG_MESSAGES table

1806: WHEN OTHERS THEN
1807: RETURN null;
1808: END;
1809:
1810: /* This procedure inserts a record into the FND_LOG_MESSAGES table
1811: FND uses an autonomous transaction so even when the hookinsert is
1812: rolled back because of an error the log messages still exists
1813: */
1814: PROCEDURE LOG_MSG( v_object_id IN VARCHAR2

Line 1831: -- Convert to the FND_LOG LEVEL

1827: RETURN;
1828: END IF;
1829:
1830: l_module := v_module;
1831: -- Convert to the FND_LOG LEVEL
1832: l_log_level := 5 - FND_PROFILE.VALUE('AMW_DEBUG_LEVEL');
1833: --Create the message text
1834: l_message := 'Object '||v_object_name||'-'||v_object_id||' : '||v_message;
1835:

Line 1839: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then

1835:
1836: /*always log message to fnd_file because it will periodically be purged
1837: log file name can be found in fnd_temp_files. (fnd_temp_file_parameters)*/
1838: fnd_file.put_line (fnd_file.LOG, l_message);
1839: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
1840: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT,l_module,l_message);
1841: end if;
1842: ---comment the following for bug5532010 --start
1843: /*

Line 1840: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT,l_module,l_message);

1836: /*always log message to fnd_file because it will periodically be purged
1837: log file name can be found in fnd_temp_files. (fnd_temp_file_parameters)*/
1838: fnd_file.put_line (fnd_file.LOG, l_message);
1839: if(FND_LOG.LEVEL_STATEMENT >= FND_LOG.G_CURRENT_RUNTIME_LEVEL) then
1840: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT,l_module,l_message);
1841: end if;
1842: ---comment the following for bug5532010 --start
1843: /*
1844:

Line 1846: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN

1842: ---comment the following for bug5532010 --start
1843: /*
1844:
1845: IF g_initialize_log = TRUE THEN
1846: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN
1847: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,
1848: l_module,
1849: l_message,
1850: g_session_id );

Line 1847: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,

1843: /*
1844:
1845: IF g_initialize_log = TRUE THEN
1846: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN
1847: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,
1848: l_module,
1849: l_message,
1850: g_session_id );
1851: END IF;

Line 1870: FND_LOG_REPOSITORY.INIT( SESSION_ID=> g_session_id);

1866: END IF;
1867:
1868: SELECT amw_debug_log_s.nextval INTO g_session_id FROM DUAL;
1869:
1870: FND_LOG_REPOSITORY.INIT( SESSION_ID=> g_session_id);
1871: g_initialize_log := TRUE;
1872: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN
1873: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,
1874: l_module,

Line 1872: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN

1868: SELECT amw_debug_log_s.nextval INTO g_session_id FROM DUAL;
1869:
1870: FND_LOG_REPOSITORY.INIT( SESSION_ID=> g_session_id);
1871: g_initialize_log := TRUE;
1872: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN
1873: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,
1874: l_module,
1875: l_message,
1876: g_session_id);

Line 1873: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,

1869:
1870: FND_LOG_REPOSITORY.INIT( SESSION_ID=> g_session_id);
1871: g_initialize_log := TRUE;
1872: IF FND_LOG_REPOSITORY.CHECK_ACCESS_INTERNAL (l_module, l_log_level) THEN
1873: FND_LOG_REPOSITORY.STRING_UNCHECKED_INTERNAL(l_log_level,
1874: l_module,
1875: l_message,
1876: g_session_id);
1877: END IF;