DBA Data[Home] [Help]

APPS.ECX_OUTBOUND dependencies on FND_LOG

Line 1280: 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);

1276: if (l_statementEnabled)
1277: then
1278: IF g_instlmode = 'EMBEDDED' THEN
1279: fnd_message.set_name('ecx', 'XML File for logging');
1280: 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);
1281: if(attachment_id <> -1 AND i_xmldoc is not null) then
1282: clength := dbms_lob.getlength(i_xmldoc);
1283: while clength >= offset LOOP
1284: ctemp := dbms_lob.substr(i_xmldoc,g_varmaxlength,offset);

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

1281: if(attachment_id <> -1 AND i_xmldoc is not null) then
1282: clength := dbms_lob.getlength(i_xmldoc);
1283: while clength >= offset LOOP
1284: ctemp := dbms_lob.substr(i_xmldoc,g_varmaxlength,offset);
1285: fnd_log_attachment.writeln(attachment_id, ctemp);
1286: offset := offset + g_varmaxlength;
1287: End Loop;
1288: fnd_log_attachment.close(attachment_id);
1289: end if;

Line 1288: fnd_log_attachment.close(attachment_id);

1284: ctemp := dbms_lob.substr(i_xmldoc,g_varmaxlength,offset);
1285: fnd_log_attachment.writeln(attachment_id, ctemp);
1286: offset := offset + g_varmaxlength;
1287: End Loop;
1288: fnd_log_attachment.close(attachment_id);
1289: end if;
1290: ELSE
1291: xmlDOM.writetofile(ecx_utils.g_xmldoc,ecx_utils.g_logdir||'/'||
1292: substr(ecx_utils.g_logfile,1,length(ecx_utils.g_logfile)-4)

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

1729: fnd_profile.get('AFLOG_MODULE',module);
1730: if(logging_enabled = 'Y' AND ((lower(module) like 'ecx%'
1731: AND instr(lower(ecx_debug.g_v_module_name),rtrim(lower(module),'%'))> 0)
1732: OR module='%')
1733: AND FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) then
1734: ecx_logging_enabled := true;
1735: end if;
1736: -- /logging enabled
1737:

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

1838: fnd_profile.get('AFLOG_MODULE',module);
1839: if(logging_enabled = 'Y' AND ((lower(module) like 'ecx%'
1840: AND instr(lower(ecx_debug.g_v_module_name),rtrim(lower(module),'%'))> 0)
1841: OR module='%')
1842: AND FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) then
1843: ecx_logging_enabled := true;
1844: end if;
1845: elsif(g_instlmode = 'STANDALONE')
1846: then

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

1886: IF g_instlmode = 'EMBEDDED' THEN
1887: IF (ecx_logging_enabled ) THEN
1888: i_log_file := ecx_debug.g_sqlprefix || p_aflog_module_name;
1889: ELSE
1890: i_log_file := 'Please ensure that FND-Logging is enabled for module '||ecx_debug.g_sqlprefix||'%';
1891: END IF;
1892: ELSE
1893: if (ecx_logging_enabled) then
1894: i_log_file := ecx_utils.g_logdir||ecx_utils.getFileSeparator()||ecx_utils.g_logfile;