DBA Data[Home] [Help]

APPS.ECX_OUTBOUND dependencies on FND_LOG

Line 1245: attachment_id := fnd_log.message_with_attachment(fnd_log.level_statement, substr(ecx_debug.g_aflog_module_name,1,length(ecx_debug.g_aflog_module_name)-4)||'.xml', TRUE);

1241: if (l_statementEnabled)
1242: then
1243: IF g_instlmode = 'EMBEDDED' THEN
1244: fnd_message.set_name('ecx', 'XML File for logging');
1245: attachment_id := fnd_log.message_with_attachment(fnd_log.level_statement, substr(ecx_debug.g_aflog_module_name,1,length(ecx_debug.g_aflog_module_name)-4)||'.xml', TRUE);
1246: if(attachment_id <> -1 AND i_xmldoc is not null) then
1247: clength := dbms_lob.getlength(i_xmldoc);
1248: while clength >= offset LOOP
1249: ctemp := dbms_lob.substr(i_xmldoc,g_varmaxlength,offset);

Line 1250: fnd_log_attachment.writeln(attachment_id, ctemp);

1246: if(attachment_id <> -1 AND i_xmldoc is not null) then
1247: clength := dbms_lob.getlength(i_xmldoc);
1248: while clength >= offset LOOP
1249: ctemp := dbms_lob.substr(i_xmldoc,g_varmaxlength,offset);
1250: fnd_log_attachment.writeln(attachment_id, ctemp);
1251: offset := offset + g_varmaxlength;
1252: End Loop;
1253: fnd_log_attachment.close(attachment_id);
1254: end if;

Line 1253: fnd_log_attachment.close(attachment_id);

1249: ctemp := dbms_lob.substr(i_xmldoc,g_varmaxlength,offset);
1250: fnd_log_attachment.writeln(attachment_id, ctemp);
1251: offset := offset + g_varmaxlength;
1252: End Loop;
1253: fnd_log_attachment.close(attachment_id);
1254: end if;
1255: ELSE
1256: xmlDOM.writetofile(ecx_utils.g_xmldoc,ecx_utils.g_logdir||'/'||
1257: substr(ecx_utils.g_logfile,1,length(ecx_utils.g_logfile)-4)

Line 1698: AND FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) then

1694: fnd_profile.get('AFLOG_MODULE',module);
1695: if(logging_enabled = 'Y' AND ((lower(module) like 'ecx%'
1696: AND instr(lower(ecx_debug.g_v_module_name),rtrim(lower(module),'%'))> 0)
1697: OR module='%')
1698: AND FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) then
1699: ecx_logging_enabled := true;
1700: end if;
1701: -- /logging enabled
1702:

Line 1807: AND FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) then

1803: fnd_profile.get('AFLOG_MODULE',module);
1804: if(logging_enabled = 'Y' AND ((lower(module) like 'ecx%'
1805: AND instr(lower(ecx_debug.g_v_module_name),rtrim(lower(module),'%'))> 0)
1806: OR module='%')
1807: AND FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) then
1808: ecx_logging_enabled := true;
1809: end if;
1810: elsif(g_instlmode = 'STANDALONE')
1811: then

Line 1855: i_log_file := 'Please ensure that FND-Logging is enabled for module '||ecx_debug.g_sqlprefix||'%';

1851: IF g_instlmode = 'EMBEDDED' THEN
1852: IF (ecx_logging_enabled ) THEN
1853: i_log_file := ecx_debug.g_sqlprefix || p_aflog_module_name;
1854: ELSE
1855: i_log_file := 'Please ensure that FND-Logging is enabled for module '||ecx_debug.g_sqlprefix||'%';
1856: END IF;
1857: ELSE
1858: if (ecx_logging_enabled) then
1859: i_log_file := ecx_utils.g_logdir||ecx_utils.getFileSeparator()||ecx_utils.g_logfile;