Might be the one before.

Do an "alter system switch logfile;" at the end of your
script in order to be sure.

- Magnus