Lance Gropper
2013-10-22 23:50:56 UTC
Hello Allan:
For some reason, I seem to be missing something:
MOJO_LOG_LEVEL can not be found as an environment variable. Also, the doc
doesn't say how to shut off the log - it only shows how to manually create
additional log messages, and how to create a second log.
Additionally, where does it log the messages to by default?
Lance
On Tue, Oct 22, 2013 at 11:08 AM, Allan Cochrane
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby notified
any dissemination, distribution or copying of **this** **email** and any
attachments is strictly prohibited. If you receive **this** **email** in
error, please immediately notify the sender by return **email** and
permanently delete the original, any copy and any printout thereof. The
integrity and security of e-mail cannot be guaranteed. If this email has
been forwarded, it may have been altered, invalidating the content.*
For some reason, I seem to be missing something:
MOJO_LOG_LEVEL can not be found as an environment variable. Also, the doc
doesn't say how to shut off the log - it only shows how to manually create
additional log messages, and how to create a second log.
Additionally, where does it log the messages to by default?
Lance
On Tue, Oct 22, 2013 at 11:08 AM, Allan Cochrane
Hi,
the environment variable MOJO_LOG_LEVEL might help here, it can control
the logger level. Alternatively make a directory called 'log' from where
you start morbo and it *ought* to write to a development.log file in that
directory.
allan
You received this message because you are subscribed to a topic in the
Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mojolicious/1nEI90NiWj4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
--the environment variable MOJO_LOG_LEVEL might help here, it can control
the logger level. Alternatively make a directory called 'log' from where
you start morbo and it *ought* to write to a development.log file in that
directory.
allan
Got a different type of question: My app is running in real-time - this
causes a lot of morbo info and debug messages - is there a way to disable
the messages?
Lance
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **email** and
any attachments is strictly prohibited. If you receive **this** **email** in
error, please immediately notify the sender by return **email** and
permanently delete the original, any copy and any printout thereof. The
integrity and security of e-mail cannot be guaranteed. If this email has
been forwarded, it may have been altered, invalidating the content.*
--causes a lot of morbo info and debug messages - is there a way to disable
the messages?
Lance
Problem was my bad - the original PERL variable assignment was in an if
statement that wasn't evaluating correctly for some other reason (value
that probably needed to be chopped). Thanks again guys.
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **email*
* and any attachments is strictly prohibited. If you receive **this** **
email** in error, please immediately notify the sender by return **email
** and permanently delete the original, any copy and any printout
thereof. The integrity and security of e-mail cannot be guaranteed. If this
email has been forwarded, it may have been altered, invalidating the
content.*
--statement that wasn't evaluating correctly for some other reason (value
that probably needed to be chopped). Thanks again guys.
Wait - I think I found the problem...Still checking...
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **email
** and any attachments is strictly prohibited. If you receive **this**
**email** in error, please immediately notify the sender by return **
email** and permanently delete the original, any copy and any printout
thereof. The integrity and security of e-mail cannot be guaranteed. If this
email has been forwarded, it may have been altered, invalidating the
content.*
--I tried converting it to a string - also made no difference...
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **
email** and any attachments is strictly prohibited. If you receive **
this** **email** in error, please immediately notify the sender by
return **email** and permanently delete the original, any copy and
any printout thereof. The integrity and security of e-mail cannot be
guaranteed. If this email has been forwarded, it may have been altered,
invalidating the content.*
--No difference...
Lance
On Wed, Oct 16, 2013 at 10:58 AM, áÌÅËÓÁÎÄÒ çÒÏÛÅ× <
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **
email** and any attachments is strictly prohibited. If you receive **
this** **email** in error, please immediately notify the sender by
return **email** and permanently delete the original, any copy and
any printout thereof. The integrity and security of e-mail cannot be
guaranteed. If this email has been forwarded, it may have been altered,
invalidating the content.*
--Lance
On Wed, Oct 16, 2013 at 10:58 AM, áÌÅËÓÁÎÄÒ çÒÏÛÅ× <
Try
left: <%= $model =%>%
You received this message because you are subscribed to a topic in
the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/**
topic/mojolicious/1nEI90NiWj4/**unsubscribe<https://groups.google.com/d/topic/mojolicious/1nEI90NiWj4/unsubscribe>
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/**group/mojolicious<http://groups.google.com/group/mojolicious>
.
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
--left: <%= $model =%>%
Works fine in the HTML code, just doesn't seem to work in the CSS
code. Also, I tried a different approach which didn't work for some reason.
I tried putting all of the PERL code outside of the __DATA__, then using it
to generate the HTML, putting it all into a single string and putting that
into the data statement - that also didn't work, but it was too complicated
to figure out why. The reason I was doing that is I wanted to make my code
run under Mojo, as well as Webmin.
On Wed, Oct 16, 2013 at 10:50 AM, Stefan Adams <
*This** e-mail and any attachments are intended only for use by
the addressee(s) named herein and may contain confidential information. If
you are not the intended recipient of **this** e-mail, you are
hereby notified any dissemination, distribution or copying of **
this** **email** and any attachments is strictly prohibited. If
you receive **this** **email** in error, please immediately notify
the sender by return **email** and permanently delete the
original, any copy and any printout thereof. The integrity and security of
e-mail cannot be guaranteed. If this email has been forwarded, it may have
been altered, invalidating the content.*
--
You received this message because you are subscribed to the Google
Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at http://groups.google.com/**group/mojolicious<http://groups.google.com/group/mojolicious>
.
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
--code. Also, I tried a different approach which didn't work for some reason.
I tried putting all of the PERL code outside of the __DATA__, then using it
to generate the HTML, putting it all into a single string and putting that
into the data statement - that also didn't work, but it was too complicated
to figure out why. The reason I was doing that is I wanted to make my code
run under Mojo, as well as Webmin.
On Wed, Oct 16, 2013 at 10:50 AM, Stefan Adams <
On Wed, Oct 16, 2013 at 12:47 PM, Lance Gropper <
it isn't working. I was thinking maybe there was a space and that was
keeping it from working.
You received this message because you are subscribed to a topic in
the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
**topic/mojolicious/1nEI90NiWj4/**unsubscribe<https://groups.google.com/d/topic/mojolicious/1nEI90NiWj4/unsubscribe>
.
To unsubscribe from this group and all its topics, send an email
Visit this group at http://groups.google.com/**group/mojolicious<http://groups.google.com/group/mojolicious>
.
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
--There's no space between the 80 and the %, and I tried it with
<%= $model %> % (with space) - no difference.
There should be no space, to my knowledge. So that's bizarre that<%= $model %> % (with space) - no difference.
it isn't working. I was thinking maybe there was a space and that was
keeping it from working.
On Wed, Oct 16, 2013 at 10:45 AM, Stefan Adams <
--On Wed, Oct 16, 2013 at 12:43 PM, Lance Gropper <
I have another question: I'm trying to alter CSS code in mojo
left: 80%
left: <%= $model %>%
What did I do wrong?
Look at the source... Is there a space between 80 and % ?left: 80%
left: <%= $model %>%
What did I do wrong?
You received this message because you are subscribed to a topic in
the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
**topic/mojolicious/1nEI90NiWj4/**unsubscribe<https://groups.google.com/d/topic/mojolicious/1nEI90NiWj4/unsubscribe>
.
To unsubscribe from this group and all its topics, send an email
Visit this group at http://groups.google.com/**group/mojolicious<http://groups.google.com/group/mojolicious>
.
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
*This** e-mail and any attachments are intended only for use by
the addressee(s) named herein and may contain confidential information. If
you are not the intended recipient of **this** e-mail, you are
hereby notified any dissemination, distribution or copying of **
this** **email** and any attachments is strictly prohibited. If
you receive **this** **email** in error, please immediately notify
the sender by return **email** and permanently delete the
original, any copy and any printout thereof. The integrity and security of
e-mail cannot be guaranteed. If this email has been forwarded, it may have
been altered, invalidating the content.*
--
You received this message because you are subscribed to the Google
Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it,
Visit this group at http://groups.google.com/**group/mojolicious<http://groups.google.com/group/mojolicious>
.
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
You received this message because you are subscribed to a topic in
the Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit https://groups.google.com/d/**
topic/mojolicious/1nEI90NiWj4/**unsubscribe<https://groups.google.com/d/topic/mojolicious/1nEI90NiWj4/unsubscribe>
.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/**group/mojolicious<http://groups.google.com/group/mojolicious>
.
For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
.
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **
email** and any attachments is strictly prohibited. If you receive **
this** **email** in error, please immediately notify the sender by
return **email** and permanently delete the original, any copy and
any printout thereof. The integrity and security of e-mail cannot be
guaranteed. If this email has been forwarded, it may have been altered,
invalidating the content.*
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **
email** and any attachments is strictly prohibited. If you receive **
this** **email** in error, please immediately notify the sender by
return **email** and permanently delete the original, any copy and
any printout thereof. The integrity and security of e-mail cannot be
guaranteed. If this email has been forwarded, it may have been altered,
invalidating the content.*
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **email
** and any attachments is strictly prohibited. If you receive **this**
**email** in error, please immediately notify the sender by return **
email** and permanently delete the original, any copy and any printout
thereof. The integrity and security of e-mail cannot be guaranteed. If this
email has been forwarded, it may have been altered, invalidating the
content.*
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **email*
* and any attachments is strictly prohibited. If you receive **this** **
email** in error, please immediately notify the sender by return **email
** and permanently delete the original, any copy and any printout
thereof. The integrity and security of e-mail cannot be guaranteed. If this
email has been forwarded, it may have been altered, invalidating the
content.*
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby
notified any dissemination, distribution or copying of **this** **email** and
any attachments is strictly prohibited. If you receive **this** **email** in
error, please immediately notify the sender by return **email** and
permanently delete the original, any copy and any printout thereof. The
integrity and security of e-mail cannot be guaranteed. If this email has
been forwarded, it may have been altered, invalidating the content.*
You received this message because you are subscribed to a topic in the
Google Groups "Mojolicious" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/mojolicious/1nEI90NiWj4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
*This** e-mail and any attachments are intended only for use by the
addressee(s) named herein and may contain confidential information. If you
are not the intended recipient of **this** e-mail, you are hereby notified
any dissemination, distribution or copying of **this** **email** and any
attachments is strictly prohibited. If you receive **this** **email** in
error, please immediately notify the sender by return **email** and
permanently delete the original, any copy and any printout thereof. The
integrity and security of e-mail cannot be guaranteed. If this email has
been forwarded, it may have been altered, invalidating the content.*
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.