Skip to content
Snippets Groups Projects
Commit 22575641 authored by tjc's avatar tjc
Browse files

fix logging

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5036 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent c2da454a
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/Splash.java,v 1.19 2006-11-29 10:21:40 tjc Exp $
* $Header: //tmp/pathsoft/artemis/uk/ac/sanger/artemis/components/Splash.java,v 1.20 2006-11-29 10:30:17 tjc Exp $
*/
package uk.ac.sanger.artemis.components;
......@@ -48,7 +48,7 @@ import java.util.Properties;
* Base class that creates a generic "Splash Screen"
*
* @author Kim Rutherford <kmr@sanger.ac.uk>
* @version $Id: Splash.java,v 1.19 2006-11-29 10:21:40 tjc Exp $
* @version $Id: Splash.java,v 1.20 2006-11-29 10:30:17 tjc Exp $
**/
abstract public class Splash extends JFrame
......@@ -110,6 +110,8 @@ abstract public class Splash extends JFrame
final InputStream options_input_stream =
Splash.class.getResourceAsStream("/etc/log4j.properties");
if(options_input_stream != null)
{
Properties logProperties = new Properties();
try
{
......@@ -122,6 +124,7 @@ abstract public class Splash extends JFrame
catch(IOException e)
{
}
}
logger4j.debug("Starting application: "+program_name);
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment