1 |
|
//---PACKAGE DECLARATION--- |
2 |
< |
package uk.org.iscream.core.loggers; |
2 |
> |
package uk.org.iscream.cms.server.core.loggers; |
3 |
|
|
4 |
|
//---IMPORTS--- |
5 |
< |
import uk.org.iscream.util.*; |
6 |
< |
import uk.org.iscream.core.*; |
5 |
> |
import uk.org.iscream.cms.server.util.*; |
6 |
> |
import uk.org.iscream.cms.server.core.*; |
7 |
|
import java.util.Date; |
8 |
|
import java.text.DateFormat; |
9 |
|
import java.util.Locale; |
46 |
|
* @throws IOException if there is a problem with the file check. |
47 |
|
*/ |
48 |
|
public FileLogger() throws IOException{ |
49 |
< |
filename = System.getProperty("uk.org.iscream.LoggerClass.FileLogger.filename"); |
49 |
> |
filename = System.getProperty("uk.org.iscream.cms.server.LoggerClass.FileLogger.filename"); |
50 |
|
// Perform file check to make sure writing is ok |
51 |
|
if(!fileCheck()){ |
52 |
|
// Have to system.out.println errors because logging mechanism failed ! |
241 |
|
* Overrides the {@link java.lang.Object#toString() Object.toString()} |
242 |
|
* method to provide clean logging (every class should have this). |
243 |
|
* |
244 |
< |
* This uses the uk.org.iscream.util.FormatName class |
244 |
> |
* This uses the uk.org.iscream.cms.server.util.FormatName class |
245 |
|
* to format the toString() |
246 |
|
* |
247 |
|
* @return the name of this class and its CVS revision |