Re: [WebDNA] Email Log.txt

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111804
interpreted = N
texte = Good point! please everyone, = email your wish list so we can try to include or modify what you want in = the next builds, if it can improve the user experience. I am thinking = about syntax consistency, useful functions or improved ones

Happy = New Year everyone!

- chris




On 26 Dec 2014, at 19:38, Kenneth Grome = <ken@webdnasolutions.com> wrote:

WebDNA was originally = created to run on the Mac OS where spaces in
file names were = generally not an issue.  This is probably why the
hard-coded = "Email Log.txt" file name was never considered to be = a
problem.

But today, two decades later, logrotate on Ubuntu = 14.04 fails to
rotate this log file, and the only reason I can think = of for this
failure is because there's a space in the file name. =  After all,
it works with all the other logs I configured it to = rotate, and
all the others do not have space characters in their = names.

Naturally I'm using quote characters around the path to = this file
in my logrotate script.  Theoretically this should = resolve this
issue -- but it does not -- thus I suspect that the = space in the
file name is still causing the problem.

I know I = can create a 'work-around' to this situation, but should
a = work-around really be necessary?  After all, practically = all
other server software these days allows the user to = specify
his/her own log file names.  Some even allows the use of = variables
so log files will be rotated automatically ...

In my = opinion this could be really use in WebDNA.  For example,
let us = specify an email log file name like this in our = prefs:

webdnaMailLog-[date %Y%m%d]

... and it could cause = WebDNA to automatically create a new email
log file every day, with = no other effort required on our part.

Just a thought from someone = who would love WebDNA to become more
user-friendly as it continues to = grow and develop.

Merry Christmas and Happy New Year = everyone!

:)

Regards,
Kenneth Grome
WebDNA = Solutions
http://www.webdnasolutions.com
Web Database Systems and = Linux Server = Management

--------------------------------------------------------= -
This message is sent to you because you are subscribed to
the = mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: = <talk-leave@webdna.us>
archives: = http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: = support@webdna.us

= Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Email Log.txt error messages? (Kenneth Grome 2016)
  2. Re: [WebDNA] Email Log.txt (Donovan Brooke 2014)
  3. Re: [WebDNA] Email Log.txt (christophe.billiottet@webdna.us 2014)
  4. Re: [WebDNA] Email Log.txt (christophe.billiottet@webdna.us 2014)
  5. [WebDNA] Email Log.txt (Kenneth Grome 2014)
  6. Re: [WebDNA] Email Log.txt recommendations (Marc Thompson 2012)
  7. [WebDNA] Email Log.txt recommendations (Marc Thompson 2012)
Good point! please everyone, = email your wish list so we can try to include or modify what you want in = the next builds, if it can improve the user experience. I am thinking = about syntax consistency, useful functions or improved ones

Happy = New Year everyone!

- chris




On 26 Dec 2014, at 19:38, Kenneth Grome = <ken@webdnasolutions.com> wrote:

WebDNA was originally = created to run on the Mac OS where spaces in
file names were = generally not an issue.  This is probably why the
hard-coded = "Email Log.txt" file name was never considered to be = a
problem.

But today, two decades later, logrotate on Ubuntu = 14.04 fails to
rotate this log file, and the only reason I can think = of for this
failure is because there's a space in the file name. =  After all,
it works with all the other logs I configured it to = rotate, and
all the others do not have space characters in their = names.

Naturally I'm using quote characters around the path to = this file
in my logrotate script.  Theoretically this should = resolve this
issue -- but it does not -- thus I suspect that the = space in the
file name is still causing the problem.

I know I = can create a 'work-around' to this situation, but should
a = work-around really be necessary?  After all, practically = all
other server software these days allows the user to = specify
his/her own log file names.  Some even allows the use of = variables
so log files will be rotated automatically ...

In my = opinion this could be really use in WebDNA.  For example,
let us = specify an email log file name like this in our = prefs:

webdnaMailLog-[date %Y%m%d]

... and it could cause = WebDNA to automatically create a new email
log file every day, with = no other effort required on our part.

Just a thought from someone = who would love WebDNA to become more
user-friendly as it continues to = grow and develop.

Merry Christmas and Happy New Year = everyone!

:)

Regards,
Kenneth Grome
WebDNA = Solutions
http://www.webdnasolutions.com
Web Database Systems and = Linux Server = Management

--------------------------------------------------------= -
This message is sent to you because you are subscribed to
the = mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: = <talk-leave@webdna.us>
archives: = http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: = support@webdna.us

= christophe.billiottet@webdna.us

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

total number of matches (1999) Bug Report, maybe (1997) Two prices in shoppingcart? (1997) page redirect in webDNA (1997) [WebDNA] Why doesn't this returnraw redirect to the new page? (2009) [quantity] solved (1997) [WebDNA] Date and Time as numbers (2009) PSC recommends what date format yr 2000??? (1997) OT: Thawte SSL on Mac OS X Server (2005) RE: Ongoing group search problems ... (1997) input problem (1999) problems with 2 tags (1997) Grep is Broke (2004) WebCat2: multiple currency support (1997) WebCatalog on G3 Macs? (1997) Email Not Being Sent (2004) WebCatalog for guestbook ? (1997) Problems getting parameters passed into email. (1997) RE: Remote administration (1998) Field name-subcategory (1997)