To end logging for two databases that are listed in a file called dbfile, execute the following command:
ondblog nolog -f dbfile