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
On Tuesday, 22 October 2013 10:16:28 UTC-5, Statue wrote:Hello Gabriel: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?LanceOn Wed, Oct 16, 2013 at 11:08 AM, Lance Gropper <streamsc...@gmail.com> wrote:
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.On Wed, Oct 16, 2013 at 11:02 AM, Lance Gropper <streamsc...@gmail.com> wrote:
Wait - I think I found the problem...Still checking...On Wed, Oct 16, 2013 at 11:01 AM, Lance Gropper <streamsc...@gmail.com> wrote:
I tried converting it to a string - also made no difference...On Wed, Oct 16, 2013 at 10:59 AM, Lance Gropper <streamsc...@gmail.com> wrote:
Hello Alexander:No difference...LanceOn Wed, Oct 16, 2013 at 10:58 AM, Александр Грошев <aleksande...@gmail.com> wrote:
Try
left: <%= $model =%>%
16.10.2013 21:53 пользователь "Lance Gropper" <streamsc...@gmail.com> написал: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 <ste...@cogentinnovators.com> wrote:
On Wed, Oct 16, 2013 at 12:47 PM, Lance Gropper <streamsc...@gmail.com> wrote:
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 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 <ste...@cogentinnovators.com> wrote:
On Wed, Oct 16, 2013 at 12:43 PM, Lance Gropper <streamsc...@gmail.com> wrote:
Hello Gabriel:I have another question: I'm trying to alter CSS code in mojo with in-line substitution. This, for example works:left: 80%This doesn't for some reason (and $model is set to 80):left: <%= $model %>%What did I do wrong?Look at the source... Is there a space between 80 and % ?--To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
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 post to this group, send email to mojol...@googlegroups.com.
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 mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
--To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
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 post to this group, send email to mojol...@googlegroups.com.
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.
--
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 mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
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
my $log = Mojo::Log->new(path => '/var/log/mojo.log', level => 'fatal'); # new log instance
$self->log($log); # tell app to use new log instance
--
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/8-vczEexC7E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
You must define $self. Learn perl!
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.
I know perl - I defined $self, and the web page no longer renders. I am switching to a competitors' PERL web server, as you don't know how to make one which is non-blocking and doesn't eventually fill up the boot drive or fill the console with non-stop error messages.
--
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/8-vczEexC7E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
Learn perl!
--
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/8-vczEexC7E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
Sorry. I will refrain from such comments in the future. But his way to search of help forced me to make that comment.
--
Sorry. I will refrain from such comments in the future. But his way to search of help forced me to make that comment.