Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: InvisibleMan on May 28, 2022, 01:15:42 AM

Title: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on May 28, 2022, 01:15:42 AM
Hello.

My HDD is being teсhnically abused by writing every 3 seconds into this log file by Avast:

Code: [Select]
C:\ProgramData\AVAST Software\Avast\log\AvastUI.log
Two questions:

1. What does this entry being written every few seconds mean, and how can I stop it from begin logged there?

Code: [Select]
[2022-05-27 23:00:54.502] [notice ] [swhealth_ui] [ 3756: 3836] asw::swu_ui::SoftwareHealthScanner::Initialize
[2022-05-27 23:00:54.502] [info   ] [swhealth_ui] [ 3756: 3836] Connecting service controller
[2022-05-27 23:00:54.502] [warning] [swhealth_ui] [ 3756: 3836] Failed to initialize:   Rpc call failed
                                                                   SoftHealth_State failed (1753)

2. If it's impossible to easily solve the problem that causes this log to be written,
is there a way to turn off the logging at least for this log file?
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: Asyn on May 28, 2022, 11:13:01 AM
Hi, easy solution would be to allow AvastUI to connect. ;)
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on May 28, 2022, 10:31:29 PM
Hi, easy solution would be to allow AvastUI to connect. ;)
Ah, so that's what it is.

But what if I need to also run a copy of Avast Free on a device that is meant to always stay offline (regardless of the reason).  :)

In any case, the problem is, I need to block its connection anyway.  ;)

In the past, Avast Free Antivirus began smothering me with ads, suggestions, etc. which I don't need. I don't have any extra money to invest in it, and no amount of nag-screens is gonna make me do so anyway (at least not in the near future).

So the only choice was to block it in the third-party firewall (yeah, yet another reason why it's better not to use Avast Firewall, since then it wouldn't alow to block itself).
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 10, 2022, 10:14:30 PM
HDD is being tehnically abused by writing every 3 seconds into this log file by Avast:
Code: [Select]
C:\ProgramData\AVAST Software\Avast\log\AvastUI.log
1. how can I stop it
Code: [Select]
[2022-05-27 23:00:54.502] [notice ] [swhealth_ui] [ 3756: 3836] asw::swu_ui::SoftwareHealthScanner::Initialize
[2022-05-27 23:00:54.502] [info   ] [swhealth_ui] [ 3756: 3836] Connecting service controller
[2022-05-27 23:00:54.502] [warning] [swhealth_ui] [ 3756: 3836] Failed to initialize:   Rpc call failed
                                                                   SoftHealth_State failed (1753)

2. is there a way to turn off the logging at least for this log file?

I have exactly the SAME PROBLEM.

Did you find a solution for this?  :-\
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on June 11, 2022, 12:47:49 AM
Did you find a solution for this?
Yes, actually!

I found an old thread where a person did find a solution:

https://forum.avast.com/index.php?topic=316848.msg1677864#msg1677864 (https://forum.avast.com/index.php?topic=316848.msg1677864#msg1677864)

Though setting that file to Read Only didn't seem to work at first.

But then I did this, and it worked:

1. Temporarily disable Avast's self-defense in the Troubleshooting section of its Settings.
2. Set the AvastUI.log file to Read-Only via Right Click -> Properties in Windows File Explorer.
3. Enable Avast's self-defense back.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 11, 2022, 04:26:37 AM
Set the AvastUI.log file to Read-Only via Right Click -> Properties in Windows File Explorer.

Thank you for your quick help!
Yes, this is what i tried and didn't work at first, too, but your advice triggered me to try it again.

I set it to 'read-only' now and simply did a restart of my system, and it works.
Let's keep in mind: Always try a restart after changing something. ;D

Okay, so the problem is solved in the first instance, but i would appreciate to find out,
- why Avast try to 'rpc call' every 3 seconds,
- why it is constantly failing,
- and maybe to stop Avast directly doing this.

Sadly Avast absolutely offers NO support for 'Free'-users; it could be done by simply asking, or at least by sharing it for a fix in future updates.
If a Premium/Pay-user is reading this: Please ask Avast for us poor little Free-users! :D
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on June 11, 2022, 11:13:09 AM
By the way, jus a piece of advice. :) It's not a nice practice to use big fonts like that. While it does catch attention, it also creates a feeling that you're yelling constantly, and looks kinda immature. So others won't respect your posts.

Okay, so the problem is solved in the first instance, but i would appreciate to find out,
- why Avast try to 'rpc call' every 3 seconds,
- why it is constantly failing,
- and maybe to stop Avast directly doing this.
If you would read the other comments in this thread (before yours), you would notice why it's happening.

That error means it can't connect for some reason to a server. So, either your computer is offline,
or in your Firewall AvastUI.exe is blocked (it's incoming connections at the very least).

It could be blocked manually, or even automatically by some software.

As for why it tries to connect: for example it's checking if there are some ads or other informational messages are needed to be shown to you.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 11, 2022, 11:43:51 AM
By the way, jus a piece of advice. :) It's not a nice practice to use big fonts like that. While it does catch attention, it also creates a feeling that you're yelling constantly, and looks kinda immature. So others won't respect your posts.

10pt font size avast-forum-standard is to small for me on screen, and I only use 12pt to ballance it; it's not that big deal. If i would really like to impact "yelling"

IT WOULD LOOK LIKE THIS!!!

;)

Quote
That error means it can't connect for some reason to a server. So, either your computer is offline,
or in your Firewall AvastUI.exe is blocked (it's incoming connections at the very least).
It could be blocked manually, or even automatically by some software.
As for why it tries to connect: for example it's checking if there are some ads or other informational messages are needed to be shown to you.

Thank you very much for the information!

My system is online, and the only program, which might be responsible for blocking avast, is the Windows-firewall, so the question is:
Is Windows blocking Avast by default? ???

If the 'rpc fail' prevents ads, then, go ahead.  :)
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: DavidR on June 11, 2022, 12:44:39 PM
@ SILENT-da
It looks like you are able to read the replies and "InvisibleMan" presumably hasn't changed his Font size in his replies.

You shouldn't need to change the font size in your posts, try changing the viewing size in your browser (which is ? ). 

I use Firefox (but this should be available across browsers) and just use the following key combination Ctrl and + (plus) keys together and that changes the viewing size in browser screen, but not universally for everyone viewing your posts.  This can be reversed using the key combination Ctrl and - (minus) keys together.  That way individuals can set a viewing size that is comfortable for them.

Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 11, 2022, 12:59:16 PM
@DavidR

I'm not here to discuss offtopics like font sizes.
My Firefox-font size is well selected. The default font-size of this forum here is in my opinion too small; Avast offers the option to change it, and I use it.
And every future reader of this thread with the same problem of uncomfortable reading will be happy.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: Asyn on June 11, 2022, 01:03:36 PM
My system is online, and the only program, which might be responsible for blocking avast, is the Windows-firewall, so the question is: Is Windows blocking Avast by default? ???
Nope.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on June 11, 2022, 02:28:10 PM
@SILENT-da
Could your Windows be adjusted by someone else before? Like a person who installed Windows on your device in the first place, or could it be an unofficial copy of Windows with pre-installed software and pre-set settings? Maybe someone else has access to your device?

In my case I manually blocked the access many years ago on a totally different version of Avast, when nag-screens became unbearable at some point.
I kept it that way ever since just in case.

P.S. as for using individual styling or sizing of your own posts at any place of the internet, for almost everyone else it looks like you're trying to stand out, as if you're better than everyone else and require a special attention. It's your choice of course. But people's psychology works that way. Automatically other people will begin treating you worse (even if subconsciously) if you're trying too hard to be different from everyone else (even if it's not your intention).
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: DavidR on June 11, 2022, 05:27:05 PM
@DavidR

I'm not here to discuss offtopics like font sizes.
My Firefox-font size is well selected. The default font-size of this forum here is in my opinion too small; Avast offers the option to change it, and I use it.
And every future reader of this thread with the same problem of uncomfortable reading will be happy.

You may not be here to discuss off-topics, someone else was offering polite response on your choice of font size. Yet you threw it back in his face with an even larger font size.

But by your changing the font size within a topic everyone else who doesn't require it has large fonts in their viewing of the post, yet all others are fine.

I offered you an easy option to increase the viewed size of fonts, yet you choose to ignore it to the detriment of others viewing this topic.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on June 11, 2022, 11:03:23 PM
And every future reader of this thread with the same problem of uncomfortable reading will be happy.
Ironically, it's less comfortable for me to read your bigger font, because normal fonts are just perfect on my monitor, and it takes longer to read due to less characters fitting into my view, and I'm a fast reader normally.

You changing it for everyone (instead of changing it only on your device for yourself) is quite inconsiderate of others. (Are you only thinking about yourself?)
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 12, 2022, 09:03:13 AM
Could your Windows be adjusted by someone else before? Like a person who installed Windows on your device in the first place, or could it be an unofficial copy of Windows with pre-installed software and pre-set settings? Maybe someone else has access to your device?
In my case I manually blocked the access many years ago on a totally different version of Avast, when nag-screens became unbearable at some point.
I kept it that way ever since just in case.


OT: "Nice to see the forum here supports relative html font sizes, too (how it should be); tried it, works, will keep it."


Thank you for the questions.
My Windows is original and i installed it myself from ground up. Noone else had or has access to it.

1) I'm using an alternative update manager for Win.
Question: Does Avast work with Win-Updates together (with rpc) in any way?

2) I'm using 'silent-mode' of Avast constantly. In fact, i never tried to set it to regular-mode to see, if it stops logging all 3 seconds.
Did you already tried this, or, are you using Avast in regular-mode and had the problem nevertheless?

3) How did/do you block Avast from nagging you?
Maybe explaining it might show me a way to find the problem on my system.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on June 12, 2022, 03:10:35 PM
2) I'm using 'silent-mode' of Avast constantly. In fact, i never tried to set it to regular-mode to see, if it stops logging all 3 seconds.
Did you already tried this, or, are you using Avast in regular-mode and had the problem nevertheless?
I always use Silent mode, and have no intention to try and use any other mode. Sorry.

Maybe explaining it might show me a way to find the problem on my system.
Just get to your Windows Firewall settings (you can search on google how to do it) and check both incoming and outcoming Rules there.
Search for anything Avast related (with red icons which signify the blocking being enabled). If you find blocked Avast related things, see if it's blocking something for the file named "AvastUI.exe" and disable that Rule in the Firewall.
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 12, 2022, 05:31:09 PM
Just get to your Windows Firewall settings (you can search on google how to do it) and check both incoming and outcoming Rules there.
Search for anything Avast related (with red icons which signify the blocking being enabled). If you find blocked Avast related things, see if it's blocking something for the file named "AvastUI.exe" and disable that Rule in the Firewall.

Found it! - Yes, (Incoming) Avast is blocked, and this apparently (for whatever reason) by default.
I installed Win and Avast and never made any (firewall-) settings, especially to block Avast.

Alright,
but i will leave it like this, cause "Avast-nagging"/ads is not what i want. :)
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: InvisibleMan on June 12, 2022, 11:29:30 PM
Quote from: SILENT-da
My Windows is original and i installed it myself from ground up. Noone else had or has access to it.
Is it really licensed? Because if you downloaded it somewhere it could in fact be not fully original, but with slight modifications (if you're lucky, harmless modifications).

It's strange that you had those rules by default. Maybe Firewall automatically blocked those because it thought AvastUI online activity was malicious or something XD
Title: Re: What does this log entry mean? Or how do I turn off the logging for AvastUI.log
Post by: SILENT-da on June 13, 2022, 06:56:26 AM
Is it really licensed?

Yes, it is.

Quote
It's strange that you had those rules by default. Maybe Firewall automatically blocked those because it thought AvastUI online activity was malicious or something XD

Well, if Avast in fact is nagging with ads and other stuff (which apparently i never had, because of default-blocking ^^), it's not far-fechted, at some point it might be declared as 'undesirable' by the firewall.