Log in scheduled task

Hello

Sorry for my english but I’m French.

I’ve created a task and I’ve checked the box for a log file ( default folder of avast ) with the following infos to be added :

  • start time
  • end time
  • hard errors
  • ignored and infected files
  • xml format.

The scheduled task has run without problem, but when finished I can’t view the log file by avast : in “sessions” I can see the task, but when I right click on it I have the options :

  • delete
  • show results
  • update
  • properties.

In avast folder, I have the following files :

  • _20060507_2030.xml
  • _20060507_2030_footer.xml
  • _20060507_2030_main.xml
  • _20060507_2030_stat.xml
  • _20060507_2030_title.xml

If I open _20060507_2030.xml, I have the informations I want ( number of files opened, tested, infected … )

Can someone tell me why I can’t view the log file ?

Sincerely.

I’m not sure I understand the question…
How about the “Show results” option in the context menu? Or, why not simply left click (or doubleclick, depends on what panel are you in) the session, instead of the right click?

Hello

When the scheduled task has ended, a log file ( in HTML format ) was created in avast default folder.

But I can’t view it when I right click on the task in “Session” panel. I only have 4 choices :

  • delete
  • show results
  • update
  • properties.

Left click or double click has no effect in the “session” panel.

Sincerely.

On the “Results” page of task configuration, you have to check the option “Store results in internal database for later processing” (and also select the records to store). This option is independent of the report file.

I send you the configuration of the task ( page “Result” and “Report file”).

I think all is OK because the html report is created.

Sincerely.

Were there any results (of selected categories) after all?
I mean, when you selected the session in the sessions folder, the statistics was displayed in the bottom right panel. If there were any results (infected files, for example), you should see them in the upper right panel.

Hello

When I open the log.file using Windows Explorer ( file name C:\Program Files\Alwil Software\Avast4\DATA\report\Analyse hebdomadaire_20060507_2030.xml ) I have the result of the scan.

I just want to know why I can’t open it with Avast.

Sincerely.

I guess there’s some misunderstanding here :slight_smile:

In Enhanced User Interface, there are 2 independent things:

  1. task results, stored in avast! internal database
  2. report file, generated when the task was executed

They don’t have anything in common (except for the fact that they both have information about the same session) - you can configure each of them to store different type of records. When you click “Show results” in the context menu, the upper right panel shows the results from the internal database - not from the report file.

Your task doesn’t have any results (no infected file was found or skipped) - so you see an empty panel; that’s how it’s supposed to be. In the bottom part of the window, you see the statistics for the session - the same as you can see in the report file (I mean, it doesn’t come from the report file, but it has the same information because it’s for the same session).

So, the “Show results” option behaves different from the Simple User Interface; the Simple User Interface doesn’t have any internal database to store the results to, so the “Show results” option does open the report file (if any); it’s not the case in the Enhanced User Inteface, however.

Hello

In Enhanced User Interface, I have :

  • avast! news
  • tasks
  • sessions
  • alerts
  • scheduler
  • virus informations
  • quarantine.

When I click on “sessions”, the last task appears in the upper right panel. When I click on it, the results are shown in the lower panel.

When I right click on the task ( upper panel ), I can choose between :

  • delete
  • show results
  • update
  • properties.

I’m OK with you when you write that the result of the scan appear in the bottom part of the window and the upper panel remains blank.

But at no place, there 's something like “show log file”. To view the file, I must launch Windows Explorer.

I don’t understand why I can tell avast! to create a report file ( in properties of a task ) if I can’t view it by avast!.

Sincerely.

Well, that’s that way it is. The report file is something generated for you, so that you can inspect it using other tools (IE, for example), maybe send it to somebody else, etc.
If you want results that can be displayed in avast!, you should use the internal results, not the report file.

Hello Igor

Thank you for your answer.

In a future release, why not add a function : view the report file.

Sincerely.

It certainly wouldn’t be possible (it already is present in the Simple User Interface), but:

  • the report file is not “specific” for the task. I mean, you can set the same report file name for multiple tasks, possible overwriting the file every time you run one of them. So, the “Show report file” option may actually diplay a report for a completely different task than the one you expect (and you won’t know about it).

Hello

Something I haven’t seen previously : when I look at the result of a weekly scan ( session panel ) I have
files tested 7733313
folders tested 3407988.

( I sure it’s not possible )

In the log report, the numbers aren’t the same :
files tested 24375
folders tested 1045.

Can you look at this problem ?

Sincerely.

Aren’t the number of the archived files included?

Are you sure you’re refering to the same scan run?

It’s a known problem - see here.

Igor, Vlk said me (by email) that these glitches will occur only in the ‘old’ scheduled tasks and not in the ‘new’ ones you’ll create (if I did not understand him bad).
Well, for me they’re still there, accented characters are not allowed in the ‘new’ scheduled nor the ‘old’ ones are displayed correctly.
Is there anything that we can help? Is this any translation problem?

No, it has nothing to do with the translation, it’s a problem in the code/database.

Thanks. Looking forward a program update 8)