Using the command line
You can issue the command provided here to modify Administration server log settings.
About this task
Issue the command:
idsldapmodify -D <adminDN> -w <adminPW> -i <filename>where <filename>
contains: dn: cn=Admin, cn=Log Management, cn=Configuration
changetype: modify
replace: ibm-slapdLog
ibm-slapdLog: <newpathname>
-
replace: ibm-slapdLogSizeThreshold
ibm-slapdLogSizeThreshold: <size threshold in MB>
-
replace: ibm-slapdLogMaxArchives
ibm-slapdLogMaxArchives: <number of log archives to save>
-
replace: ibm-slapdLogArchivePath
ibm-slapdLogArchivePath: <archived logs path>You
must stop the server for changes to take effect. After stopping the
server you must also stop and start the administration server locally
to resynchronize the ports. Start the server. ibmdirctl -D <AdminDN> -w <AdminPW> -p <portnumber> stop
ibmdirctl -D <AdminDN> -w <AdminPW>admstop
idsdiradm
ibmdirctl -D <AdminDN> -w <AdminPW>-p <portnumber> start