DBA Data[Home] [Help]

APPS.FA_DEBUG_PKG dependencies on FND_FILE

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

85: l_dirfile := fa_cache_pkg.fa_debug_file;
86: if l_dirfile is not null then
87:
88: -- Do not set up file/dir info if this is a concurrent program
89: -- FND_FILE will automatically place the debug messages to
90: -- the concurrent program's log file.
91: --l_request_id := to_number(fnd_profile.value('CONC_REQUEST_ID'));
92: l_request_id := fnd_global.conc_request_id;
93:

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

94: if l_request_id is null or l_request_id <= 0 then
95: l_dir := substr(l_dirfile, 1, instr(l_dirfile, ' ')-1);
96: l_file := substr(l_dirfile, instr(l_dirfile, ' ')+1);
97: if l_dir is not null and l_file is not null then
98: fnd_file.put_names(l_file||'.log', l_file||'.out', l_dir);
99: end if;
100: end if;
101:
102: fa_debug_file := 'YES';

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

99: end if;
100: end if;
101:
102: fa_debug_file := 'YES';
103: fnd_file.put_line(fnd_file.log, 'Starting debug session....');
104:
105: end if;
106: end if;
107: END Initialize;

Line 160: fnd_file.put_line(fnd_file.Log,

156: FA_DEBUG_TABLE(FA_DEBUG_COUNT).data := debug_str;
157:
158: -- Bug 9349372 : fa_debug_table is populated only for 11i
159: if fa_debug_file = 'YES' then
160: fnd_file.put_line(fnd_file.Log,
161: fa_debug_table(fa_debug_count).fname || ': '||
162: fa_debug_table(fa_debug_count).data);
163: end if;
164:

Line 176: when fnd_file.utl_file_error then

172: end if;
173:
174:
175: EXCEPTION
176: when fnd_file.utl_file_error then
177: fa_debug_file := 'NO';
178: END Add;
179:
180:

Line 202: fnd_file.put_line(fnd_file.Log,

198: FA_DEBUG_TABLE(FA_DEBUG_COUNT).data := debug_str;
199:
200: -- Bug 9349372 : fa_debug_table is populated only for 11i
201: if fa_debug_file = 'YES' then
202: fnd_file.put_line(fnd_file.Log,
203: fa_debug_table(fa_debug_count).fname || ': '||
204: fa_debug_table(fa_debug_count).data);
205: end if;
206:

Line 217: when fnd_file.utl_file_error then

213:
214: end if;
215:
216: EXCEPTION
217: when fnd_file.utl_file_error then
218: fa_debug_file := 'NO';
219:
220: END Add;
221:

Line 245: fnd_file.put_line(fnd_file.Log,

241: FA_DEBUG_TABLE(FA_DEBUG_COUNT).data := debug_str;
242:
243: -- Bug 9349372 : fa_debug_table is populated only for 11i
244: if fa_debug_file = 'YES' then
245: fnd_file.put_line(fnd_file.Log,
246: fa_debug_table(fa_debug_count).fname || ': '||
247: fa_debug_table(fa_debug_count).data);
248: end if;
249:

Line 260: when fnd_file.utl_file_error then

256:
257: end if;
258:
259: EXCEPTION
260: when fnd_file.utl_file_error then
261: fa_debug_file := 'NO';
262:
263: END Add;
264:

Line 293: fnd_file.put_line(fnd_file.Log,

289: FA_DEBUG_TABLE(FA_DEBUG_COUNT).data := debug_str;
290:
291: -- Bug 9349372 : fa_debug_table is populated only for 11i
292: if fa_debug_file = 'YES' then
293: fnd_file.put_line(fnd_file.Log,
294: fa_debug_table(fa_debug_count).fname || ': '||
295: fa_debug_table(fa_debug_count).data);
296: end if;
297:

Line 308: when fnd_file.utl_file_error then

304:
305: end if;
306:
307: EXCEPTION
308: when fnd_file.utl_file_error then
309: fa_debug_file := 'NO';
310:
311: END Add;
312: