Yes you are correct. I used Environment.log.debug("some text") line to print to 
the log file.


[cid:4bdb677c-643e-4b4c-8ff5-2018f4a57183]


Velu Narasimman  |  Engineer, Information Systems

Mobile: +91-44-6740 400  |  Phone: +91-44-6740 4000  |  Extn. 11535 |


Website: www.aspiresys.com<http://www.aspiresys.com/> | Blog: 
http://blog.aspiresys.com<http://blog.aspiresys.com/>

[cid:04fe0b43-6d00-47cc-9a30-c621f2991c8c] 
[cid:47c020e3-41a6-40cf-adaf-3b322226d04d]  
[cid:8dfaf61f-3b22-48f9-8b92-f3f357079c5c]  
[cid:4d37c437-725c-4e99-8c44-5ed6eba00336]

India’s Best Companies to Work for 2019!








________________________________
From: trac-users@googlegroups.com <trac-users@googlegroups.com> on behalf of 
RjOllos <rjol...@gmail.com>
Sent: Thursday, November 7, 2019 6:01 AM
To: Trac Users <trac-users@googlegroups.com>
Subject: Re: [Trac] Why am I seeing a lot of repeated log lines in trac.log?

CAUTION: External email. Please verify the veracity of the sender/content 
before opening a link or an attachment.


On Tuesday, November 5, 2019 at 9:08:19 PM UTC-8, Velu Narasimman wrote:
Hi,

    I have used Trac1.0.15 hosted on apache2 as a virtual host. So it is like 
Trac + Apache2 + mod_wsgi combination. Also we have integrated DJANGO  site 
with this Trac instance into that same virtualhost configuration.

    From your previous mail, if performance checks are repeated and that will 
cause slowness, how can I fix that up? any idea? Also I have attached few more 
screenshots for your reference. It seems like the Environment is reloaded 
repeatedly or something strange is going on here.

    In one of those screenshots "Nextnames" is a text that I printed to log 
file. But it is repeated many times instead of just one. Hope you can get some 
idea about that.

How did you print that to the log file? Is that an Environment.log call from a 
plugin?


    I welcome your help to fix these up!

    Thank you!


[https://groups.google.com/group/trac-users/attach/161ff7614510a/Outlook-jv5v4qhv.jpg?part=0.0.1&view=1&authuser=0]


Velu Narasimman  |  Engineer, Information Systems

Mobile: +91-44-6740 400  |  Phone: +91-44-6740 4000  |  Extn. 11535 |


Website: www.aspiresys.com<http://www.aspiresys.com/> | Blog: 
http://blog.aspiresys.com<http://blog.aspiresys.com/>

[https://groups.google.com/group/trac-users/attach/161ff7614510a/Outlook-z3mlvzoq.png?part=0.0.2&view=1&authuser=0]
 
[https://groups.google.com/group/trac-users/attach/161ff7614510a/Outlook-eg5koigj.png?part=0.0.3&view=1&authuser=0]
  
[https://groups.google.com/group/trac-users/attach/161ff7614510a/Outlook-cxegsezu.png?part=0.0.4&view=1&authuser=0]
  
[https://groups.google.com/group/trac-users/attach/161ff7614510a/Outlook-oljc2spr.png?part=0.0.5&view=1&authuser=0]

India’s Best Companies to Work for 2019!








________________________________
From: trac-users@googlegroups.com<mailto:trac-users@googlegroups.com> 
<trac-users@googlegroups.com<mailto:trac-users@googlegroups.com>> on behalf of 
RjOllos <rjol...@gmail.com<mailto:rjol...@gmail.com>>
Sent: Wednesday, November 6, 2019 4:50 AM
To: Trac Users <trac-users@googlegroups.com<mailto:trac-users@googlegroups.com>>
Subject: Re: [Trac] Why am I seeing a lot of repeated log lines in trac.log?

CAUTION: External email. Please verify the veracity of the sender/content 
before opening a link or an attachment.


On Monday, November 4, 2019 at 9:40:37 PM UTC-8, Velu Narasimman wrote:
Hi Ryan,

    Thanks for your response. I am using Trac 1.0.15. Below are the list of 
plugins that I have installed.

    1. agilo-0.9.15
    2. Babel-1.3
    3. CherryPy-3.2.2
    4. Genshi-0.7
    5. psycopg2-2.7.4
    6. pysugarcrm-1.0.0
    7. TracMenusPlugin-0.1

Is that the output of "pip list"? Unless you have an integration to Trac via a 
plugin, CherryPy, pysugarcrm and Django (mentioned below) have nothing to do 
with your Trac instance, other than possibly sharing the same Python 
installation.


    Other than those plugins I have used some downloaded and modified plugins 
as well.

You can also see your installed plugins on the /about page, provided you have 
TRAC_ADMIN or CONFIG_VIEW permission. Looks like you have just Agilo and 
TracMenusPlugin installed, but please check /about for a full listing. You may 
have some plugins installed in the plugin directory which wouldn't be output by 
"pip list".

    The permission policies from trac.ini are,

    permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy

That is standard, the default, so nothing unusual there.

    The lines logged in that attachment are just a sample. I am seeing similar 
repetitions for a lot of other issues as well. They are repeated for ten to 
fifteen times instead of just one.

    Also, my trac site  is very slow. I am using Apache + mod_wsgi + Django. 
What may be the reason for this slowness? Could you please direct me to fix the 
performance?

The repeated logging may be related to the slowness. It looks like permission 
checks are being repeated, which can slow the response time.

Slowness could also be due to many other things. Please describe your 
configuration: e.g. TracStandalone or Apache with mod_wsgi or mod_python? 
Windows or Linux?

And please take a look at:
https://trac.edgewall.org/wiki/TracTroubleshooting
https://trac.edgewall.org/wiki/TracPerformance

- Ryan

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
trac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/85f5d4a1-24de-4675-8b30-b22870fabfb1%40googlegroups.com<https://groups.google.com/d/msgid/trac-users/85f5d4a1-24de-4675-8b30-b22870fabfb1%40googlegroups.com?utm_medium=email&utm_source=footer>.
[Aspire Systems]

This e-mail message and any attachments are for the sole use of the intended 
recipient(s) and may contain proprietary, confidential, trade secret or 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited and may be a violation of law. If you are not the 
intended recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
trac-users+unsubscr...@googlegroups.com<mailto:trac-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/e6a958bd-6942-4d43-8965-fe24eddb7390%40googlegroups.com<https://groups.google.com/d/msgid/trac-users/e6a958bd-6942-4d43-8965-fe24eddb7390%40googlegroups.com?utm_medium=email&utm_source=footer>.
[Aspire Systems]

This e-mail message and any attachments are for the sole use of the intended 
recipient(s) and may contain proprietary, confidential, trade secret or 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited and may be a violation of law. If you are not the 
intended recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/SG2PR02MB2921155E70739AB4952F4CC4FD780%40SG2PR02MB2921.apcprd02.prod.outlook.com.

Reply via email to