CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • dompdf logging
Pages: [1]

Author Topic: dompdf logging  (Read 1616 times)

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
dompdf logging
October 23, 2012, 03:36:29 am
civicrm/packages/dompdf/lib/fonts/log.htm is kind of annoying

i keep on finding that it has been modified.

it is full of interesting stuff! like
Code: [Select]
<span style='color: #900'>32,000 KB</span>    <span style='color: #090'>19,002.1040 ms</span><br />
I am guessing there is a config option that we can set to turn off logging as it seems a bit ott. or if we want to keep it on, change it to log somewhere more appropriate.

what do you think?
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: dompdf logging
October 23, 2012, 03:47:58 am
Hi,

Not that is solves the root problem, but www-data shouldn't have write access to civicrm/packages in the first place (best practice to limit what the web user can write).

As a quick fix, you can change the rights so it's owned by you and www-data can't write there?

X+

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: dompdf logging
October 23, 2012, 09:55:50 am
indeed - thanks for pointing that out :)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • dompdf logging

This forum was archived on 2017-11-26.