7.3. 감사 로그 참조

감사 로그는 서버 인스턴스의 변경 사항 을 기록합니다. 오류 및 액세스 로그와 달리 감사 로그는 서버 인스턴스에 대한 액세스 를 기록하지 않으므로 데이터베이스를 검색할 수 없습니다.

감사 로그는 액세스 및 오류 로그와 다르게 포맷되며 타임스탬프가 있는 LDIF 파일과 같습니다. 감사 로그에 기록된 작업은 LDIF 문으로 포맷됩니다.

 timestamp: date
 dn: modified_entry
 changetype: action
 action:attribute
 attribute:new_value
 -
 replace: modifiersname
 modifiersname: dn
 -
 replace: modifytimestamp
 modifytimestamp: date
 -

LDIF 파일 및 형식은 관리 가이드의 "LDAP 데이터 상호 변경 형식" 부록에 자세히 설명되어 있습니다.

예 7.7. “감사 로그 콘텐츠” 에 다양한 종류의 감사 항목이 표시됩니다.

예 7.7. 감사 로그 콘텐츠

 ... modifying an entry ...
 time: 20200108181429
 dn: uid=scarter,ou=people,dc=example,dc=com
 changetype: modify
 replace: userPassword
 userPassword: {SSHA}8EcJhJoIgBgY/E5j8JiVoj6W3BLyj9Za/rCPOw==
 -
 replace: modifiersname
 modifiersname: cn=Directory Manager
 -
 replace: modifytimestamp
 modifytimestamp: 20200108231429Z
 -

 ... sending a replication update ...
 time: 20200109131811
 dn: cn=example2,cn=replica,cn="dc=example,dc=com",cn=mapping tree,cn=config
 changetype: modify
 replace: nsds5BeginReplicaRefresh
 nsds5BeginReplicaRefresh: start
 -
 replace: modifiersname
 modifiersname: cn=Directory Manager
 -
 replace: modifytimestamp
 modifytimestamp: 20200109181810Z
 -

감사 로그의 포맷을 변경하거나 로그 수준을 설정할 수 없습니다.