Class OmegaTFileHandler


public class OmegaTFileHandler extends StreamHandler
File handler for standard logging for support logrotating(on startup only) and file naming with datetime part. This handler will create 'OmegaT.log' for OmegaT(and OmegaT-1.log, OmegaT-2.log for next instances which runned in the same time). logrotate will work only on create handler, i.e. logs from one OmegaT run will be only in one log file. It means, what log file can be much longer than maxinum file size. Maximum file size used only on startup for decide: should we rotate logs or not. Rotated logs will be named like 'OmegaT.20080325.1800.log'.