database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
ㆍCache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Cache Q&A 1051 게시물 읽기
No. 1051
CacheODBC 로그 남기기
작성자
CacheSQL
작성일
2009-12-15 19:36
조회수
6,553

Cache ODBC에 쿼리문을 날렸는데, 무슨 일이 일어났는지 잘 모르겠다 싶을 땐, Client 쪽에서 Cache ODBC log를 남길 수가 있다.

Windows Control Panel -> Administrative Tools -> Data Sources (ODBC)
-> System DSN -> CACHE Data Source -> Configure -> Check ODBC Log -> OK

위와 같이 하면, 윈도우즈 환경에서는 주로 Windows 디렉터리 아래에 CacheODBC.log 파일에 남는다. 하지만, 아래와 같이 하면, 로그의 위치를 변경할 수가 있다.

1. Create the log files outside of the standard path (windows directory is default)
Windows Control Panel -> System -> Advanced Tab
-> Environment Variables -> System Variables
-> New Variable name CACHEODBCTRACEFILE
Variable value C:\ODBC_Logs\CacheODBC.log
optionally you can define also the following environment variable to include PID info (cf Cache online documentation - ODBC log setup)
-> New Variable name CACHEODBCPID
Variable value 1
Create folder C:\ODBC_Logs

하지만, Windows2003에서는 아래와 같은 추가 스텝이 필요하다고 하니 참고하시길.
2. Authorizations 
Windows Control Panel -> Administrative Tools -> Computer Management
-> + Local Users and Groups -> Users -> ASPNET -> Member of -> Add
-> Enter the object names to select -> Administrators
(It may be already defined on your system) 

Windows Control Panel -> Administrative Tools -> Computer Management
-> + Services and Applications -> right click Internet Information Services
-> All Tasks -> Restart IIS -> Restart Internet Services on XXXX -> OK 

[Top]
No.
제목
작성자
작성일
조회
1059Cache에서 오류 이해하기
오류맨
2010-02-02
6488
1057[펌]Intersystems Cache Table 목록 가져오기
하늘나라펌
2009-12-23
7575
1056Cache Security-CCC
보안관
2009-12-17
7219
1051CacheODBC 로그 남기기
CacheSQL
2009-12-15
6553
1050cache database to Oracle Migration? [1]
HIT
2009-12-14
6934
1040select top nRows 관련 표준 및 타사DB 비교
EnsembleDB
2009-12-02
6298
1024cache classmethod 리턴 값을 레코드 셋이나 객체 리스트로 받고 싶습니다. [1]
이국진
2009-11-19
6616
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2023 DSN, All rights reserved.
작업시간: 0.050초, 이곳 서비스는
	PostgreSQL v16.1로 자료를 관리합니다