파일에 로그 쓰기 예제 #define FCL_PRINT_LOG(_msg1,_msg2) do { \ char _str[200]; \ char _dt[16+1]; \ char _date[8+1]; \ char _fname[60]; \ \ bzero(_str, 200 ); \ bzero(_dt, 17 ); \ bzero(_date, 9 ); \ bzero(_fname,60 ); \ \ mpfm_get_date_time(_str); \ strncpy( _date, _str, 8); \ if( !strncmp("TestAutoSystem", PFM_TRAN->svc_nm, 14) ) { \ sprintf( _fname, "/nbslog/fap/bat/autotest.log.%s", _date ); \ } else..