Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

will use gzip for writing plsql logs #7

Open
yaoguangluo opened this issue Jan 28, 2019 · 0 comments
Open

will use gzip for writing plsql logs #7

yaoguangluo opened this issue Jan 28, 2019 · 0 comments

Comments

@yaoguangluo
Copy link
Owner

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();
		//...
	}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant