Skip to content

will use gzip for writing plsql logs #7

@yaoguangluo

Description

@yaoguangluo
public static void writeLogFile(String plsql) {
	checkCurrentFileRange();
	//zip text string and write; im thinking about a new method to make string write small.
}

private static void checkCurrentFileRange() {
	//if currentfiletime - currenttime > 1 day
	//if currentfilesize > 100mb
	//makenew file;
}

@SuppressWarnings("unused")
private static void coverageByTime(String time) {
	//loop unzip loggers,
	//find point of time,and start read and exec the plsql from the loggers.
	File file = new File(logCategoryPath);
	if(file.isDirectory()) {
		File[] files=file.listFiles();
		//...
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions