Improve your productivity and save time.  Let your system work for you.
HiTek Software Home
Subject How to prevent entries into the debug log
Date   01/19/2006
Message Hello,

we have bought your software Automize 6.0 for schedule some Microsoft Access 2003 applications in our company. The tasks run every days to certain times. It run correctly. Also I have a task, which deletes all files in the directory c:\temp. The task runs every day at 1.30 am. After the run the files are deleted, but i find some problems in the debug log.

here are some hardcopies:

1."delete task": (Embedded image moved to file: pic30333.jpg)

2. schedule (Embedded image moved to file: pic17673.jpg)

the debug log after the run:

------------------------------------------------------------------------------------------------ ... Mar 15, 2005 1:30:00 AM

java.lang.NullPointerException
at DeleteDirTree.update(DeleteTask.java:221)
at java.util.Observable.notifyObservers(Unknown Source)
at FileWalker.walk(FileWalker.java:31)
at FileWalker.walk(FileWalker.java:24)
at DeleteDirTree.deleteEmptyFolders(DeleteTask.java:170)
at DeleteTask.DeleteFiles(DeleteTask.java:91)
at DeleteTask.DeleteTask(DeleteTask.java:40)
at DeleteTask.run(DeleteTask.java:21)

...

Reply1 Hi Heiko,

Thanks for using Automize. 
1) Thanks for the files. There is no problem in your task setup. However, in the future, you should use the Help menu / Email support generator to send us Automize data files. 
2) There may be many entries in the debug log which are not errors that the user needs to worry about, unless the error entry is causing some problem for you. 
3) In this case, i think that once the empty folder is deleted, it is listing an error. i.e. all files and folders should be deleted correctly.

-- Sincerely, Melvin Desilva Hitek Software

 

Reply2 Hi Melvin,

thank you for your quick answer.

You're right - the "delete task" has no problem. There are just some notices in the debug log. If in the directory "c:\temp\" are a lot of files, which haven't the date for deleting, the debug log notices are many, many pages.

Is there no possibility to change the option in the "delete task", so that the task produce no output in the debug log ?

Reply3 Hi Heiko,

1) There is no option to avoid entries into the debug log. I will request that this feature be looked into. 
2) If you are on windows NT/2000/XP, you can use The Command task to delete all files: 
Commandline = cmd.exe /c del /s/q *.* 
Working dir = c:\temp

-- Sincerely, Melvin Desilva Hitek Software

Reply4
Reply5