Originally posted by Alan Morgan:
1) Good point
How do I limit it to a given size ?
2)If I keep one per package it will be four (gui, controller, db, remote)
3) So how do I go about allowing configuration ?
Put a menu on the UI ? Doesn't sound like it fits really.
Add it to the connection screen at the start where I allow setting of database and ip address ?
Thanks
For a small project use a text file for giving config info. Or u can give a seperate UI apart from the Application for congif only. Keep two text box for Log Level and one for Log file size. Write this to a text file.
when ur application is loggin, read from the property file.
Now The size, when u do logging, check the size of the file, If its greater clear the log.
Four logs become cumbersome when on a real time application, since the SYstem Admin in many client places might not want to see many logs for getting a since exception.