There is a LOG= setting in the NOTES.INI. You specify LOG=<logfile name>,<logging enable>, 0,<days to keep documents>,<document size>
Do not set document size too large or the server will not be able to compact the log database very well.