package com.fatico.winthing.logging;

import com.fatico.winthing.Application;

import ch.qos.logback.core.PropertyDefinerBase;

public class FileLogEnabler extends PropertyDefinerBase {

	@Override
	public String getPropertyValue() {
		if (Application.APPDEBUG) {
			return "true";
		}
		
		return "false";
	}
}

package com.fatico.winthing.logging;

import com.fatico.winthing.Application;

import ch.qos.logback.core.PropertyDefinerBase;

public class FileLogEnabler extends PropertyDefinerBase {

	@Override
	public String getPropertyValue() {
		if (Application.debug()) {
			return "true";
		}
		
		return "false";
	}
}

Change how we find out if debug parameter has been passed
Change how we find out if debug parameter has been passed