DBA Data[Home] [Help]

APPS.FA_DEBUG_PKG dependencies on FND_FILE

Line 84: -- FND_FILE will automatically place the debug messages to

80: --l_dirfile := fnd_profile.value('FA_DEBUG_FILE');
81: l_dirfile := fa_cache_pkg.fa_debug_file;
82: if l_dirfile is not null then
83: -- Do not set up file/dir info if this is a concurrent program
84: -- FND_FILE will automatically place the debug messages to
85: -- the concurrent program's log file.
86: --l_request_id := to_number(fnd_profile.value('CONC_REQUEST_ID'));
87: l_request_id := fnd_global.conc_request_id;
88: if l_request_id is null or l_request_id <= 0 then

Line 92: fnd_file.put_names(l_file||'.log', l_file||'.out', l_dir);

88: if l_request_id is null or l_request_id <= 0 then
89: l_dir := substr(l_dirfile, 1, instr(l_dirfile, ' ')-1);
90: l_file := substr(l_dirfile, instr(l_dirfile, ' ')+1);
91: if l_dir is not null and l_file is not null then
92: fnd_file.put_names(l_file||'.log', l_file||'.out', l_dir);
93: end if;
94: end if;
95:
96: fa_debug_file := 'YES';

Line 97: fnd_file.put_line(fnd_file.log, 'Starting debug session....');

93: end if;
94: end if;
95:
96: fa_debug_file := 'YES';
97: fnd_file.put_line(fnd_file.log, 'Starting debug session....');
98: end if;
99: end if;
100: END Initialize;
101:

Line 152: fnd_file.put_line(fnd_file.Log,

148: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT , g_calling_routine, debug_str);
149: end if;
150:
151: if fa_debug_file = 'YES' then
152: fnd_file.put_line(fnd_file.Log,
153: fa_debug_table(fa_debug_count).fname || ': '||
154: fa_debug_table(fa_debug_count).data);
155: end if;
156: EXCEPTION

Line 157: when fnd_file.utl_file_error then

153: fa_debug_table(fa_debug_count).fname || ': '||
154: fa_debug_table(fa_debug_count).data);
155: end if;
156: EXCEPTION
157: when fnd_file.utl_file_error then
158: fa_debug_file := 'NO';
159: END Add;
160:
161:

Line 182: fnd_file.put_line(fnd_file.Log,

178: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT , g_calling_routine, debug_str);
179: end if;
180:
181: if fa_debug_file = 'YES' then
182: fnd_file.put_line(fnd_file.Log,
183: fa_debug_table(fa_debug_count).fname || ': '||
184: fa_debug_table(fa_debug_count).data);
185: end if;
186: EXCEPTION

Line 187: when fnd_file.utl_file_error then

183: fa_debug_table(fa_debug_count).fname || ': '||
184: fa_debug_table(fa_debug_count).data);
185: end if;
186: EXCEPTION
187: when fnd_file.utl_file_error then
188: fa_debug_file := 'NO';
189: END Add;
190:
191:

Line 212: fnd_file.put_line(fnd_file.Log,

208: FND_LOG.STRING(FND_LOG.LEVEL_STATEMENT , g_calling_routine, debug_str);
209: end if;
210:
211: if fa_debug_file = 'YES' then
212: fnd_file.put_line(fnd_file.Log,
213: fa_debug_table(fa_debug_count).fname || ': '||
214: fa_debug_table(fa_debug_count).data);
215: end if;
216:

Line 218: when fnd_file.utl_file_error then

214: fa_debug_table(fa_debug_count).data);
215: end if;
216:
217: EXCEPTION
218: when fnd_file.utl_file_error then
219: fa_debug_file := 'NO';
220: END Add;
221:
222:

Line 250: fnd_file.put_line(fnd_file.Log,

246: end if;
247:
248:
249: if fa_debug_file = 'YES' then
250: fnd_file.put_line(fnd_file.Log,
251: fa_debug_table(fa_debug_count).fname || ': '||
252: fa_debug_table(fa_debug_count).data);
253: end if;
254: EXCEPTION

Line 255: when fnd_file.utl_file_error then

251: fa_debug_table(fa_debug_count).fname || ': '||
252: fa_debug_table(fa_debug_count).data);
253: end if;
254: EXCEPTION
255: when fnd_file.utl_file_error then
256: fa_debug_file := 'NO';
257: END Add;
258:
259: