title: Is there any way to flush output from PL/SQL in Oracle?
body: <p>I have an SQL script that is called from within a shell script and takes a long time to run. It currently contains <code>dbms_output.put_line</code> statements at various points. The output from these print statements appear in the log files, but only once the script has completed.</p>
  
  <p>Is there any way to ensure that the output appears in the log file as the script is running?</p>