SQL Developer on Mac OS Creates large log file on startup

After installing SQL Developer 3.2 on Mac OS 10.8.2 my disk space started running out. And kept running out. SQL Developer was constantly appending to a log file in /tmp

I traced the problem to the startup .sh script for sql developer.

/Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh
bash ./sqldeveloper >/tmp/sqldeveloper-startup-`uuidgen`.log

I stopped sql developer from creating the  log file and that fixed the problem, plus, sqldeveloper starts up faster, probably runs faster etc. So, if you don’t want this logging going on… just change the command to:

bash ./sqldeveloper

Not sure how this logging got put in place (maybe it was an install gone wrong?) and got out of control… but I learned how to stop it.

Advertisements

2 comments

  1. The log files was repeating
    Type the full pathname of a J2SE installation (or Ctrl-C to quit), the path will be stored in ~/.sqldeveloper/jdk
    Error: /bin/java not found

    Newer version MacOSX uses /usr/bin/java instead of /bin/java as the path of java executable. Another simple fix is just to copy over /usr/bin/java to /bin/java. Since it is just a link, it won’t cause any problem.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s