<commit_before>package imcode.util.log;

import org.apache.log4j.*;
import java.io.*;

import imcode.server.WebAppGlobalConstants;

public class WebAppFileAppender  extends FileAppender
{	
	private static String absoluteWebAppPath = WebAppGlobalConstants.getInstance().getAbsoluteWebAppPath();

	public WebAppFileAppender() 
	{
		super();
	}
	
	public void setFile(String fileName, boolean append ) throws IOException 
	{
		super.setFile( absoluteWebAppPath + fileName, append );
	}
}<commit_msg>Modified WebAppFileAppender to use a java.io.File instead of a String.<commit_after>package imcode.util.log;

import org.apache.log4j.*;
import java.io.*;

import imcode.server.WebAppGlobalConstants;

public class WebAppFileAppender  extends FileAppender
{	
	private static File absoluteWebAppPath = new File(WebAppGlobalConstants.getInstance().getAbsoluteWebAppPath());

	public WebAppFileAppender() 
	{
		super();
	}
	
	public void setFile(String fileName, boolean append ) throws IOException 
	{
		super.setFile( (new File(absoluteWebAppPath, fileName)).toString(), append );
	}
}

{'fraction_non_alphanumeric': 0.0962962962962963, 'fraction_numerical': 0.001851851851851852, 'mean_word_length': 5.5120481927710845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2974431', 'n_tokens_mistral': 330, 'n_tokens_neox': 320, 'n_words': 77}