Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Analog: Help

Separate configuration files on Windows

 

 

Analog help RSS feed   Index | Next | Previous | View Threaded


richard at php

Oct 16, 2008, 5:05 AM

Post #1 of 6 (789 views)
Permalink
Separate configuration files on Windows

Should this work on Windows:

analog +Gc:canalog\rgraph-analog.cfg

? Basically I have two logfiles that I want to analyse seperately on
Windos. No joy though - keeps coming back with this:

analog: Warning C: Command line argument +Gfoo.cfg too long: ignoring end of it

Even if I change it to the name foo.cfg so it's shorter.

Thanks.

--
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------


analog07 at eircom

Oct 16, 2008, 5:21 AM

Post #2 of 6 (752 views)
Permalink
Re: Separate configuration files on Windows [In reply to]

On 10/16/2008 8:05 AM, Richard Heyes wrote:
> Should this work on Windows:
>
> analog +Gc:canalog\rgraph-analog.cfg
>
> ? Basically I have two logfiles that I want to analyse seperately on
> Windos. No joy though - keeps coming back with this:
>
> analog: Warning C: Command line argument +Gfoo.cfg too long: ignoring end of it
>
> Even if I change it to the name foo.cfg so it's shorter.

Analog command line arguments are case sensitive. Upper case G refers to
the default .cfg file, and it's only used as -G to tell analog to ignore
the default .cfg file. When you tack anything onto uppercase G the
argument is too long, and Analog ignores the end of it.

You want +gc:\analog\rgraph-analog.cfg, with a lower-case g.

Aengus
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------


richard at php

Oct 16, 2008, 11:51 AM

Post #3 of 6 (748 views)
Permalink
Re: Separate configuration files on Windows [In reply to]

> Analog command line arguments are case sensitive. Upper case G refers to the
> default .cfg file, and it's only used as -G to tell analog to ignore the
> default .cfg file. When you tack anything onto uppercase G the argument is
> too long, and Analog ignores the end of it.
>
> You want +gc:\analog\rgraph-analog.cfg, with a lower-case g.

I don't, I want Analog to use a totally separate config file, ignoring
the default cfg file.

Thanks.

--
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------


analog07 at eircom

Oct 16, 2008, 12:06 PM

Post #4 of 6 (749 views)
Permalink
Re: Separate configuration files on Windows [In reply to]

Richard Heyes <richard[at]php.net> wrote:
>> Analog command line arguments are case sensitive. Upper case G
>> refers to the default .cfg file, and it's only used as -G to tell
>> analog to ignore the default .cfg file. When you tack anything onto
>> uppercase G the argument is too long, and Analog ignores the end of
>> it.
>>
>> You want +gc:\analog\rgraph-analog.cfg, with a lower-case g.
>
> I don't, I want Analog to use a totally separate config file, ignoring
> the default cfg file.

Then you want -G +gc:\analog\rgraph-analog.cfg

Config files aren't "either/or" - you can have multiple .cfg files, so the -G turns off the default.cfg file, and you can use +g to turn on your other.cfg file (you can have multiple +g commands).

http://analog.cx/docs/syntax.html#specialcfgs

Aengus

+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------


jeremy at 7simplemachines

Oct 16, 2008, 12:10 PM

Post #5 of 6 (744 views)
Permalink
RE: Separate configuration files on Windows [In reply to]

That would be this:

analog.exe -G +gc:\analog\rgraph-analog.cfg

Be careful not to put a space between the "+g" and the argument to it.

--

Jeremy Wadsack
Seven Simple Machines

-----Original Message-----
From: analog-help-bounces[at]lists.meer.net [mailto:analog-help-bounces[at]lists.meer.net] On Behalf Of Richard Heyes
Sent: Thursday, October 16, 2008 11:52 AM
To: Support for analog web log analyzer
Subject: Re: [analog-help] Separate configuration files on Windows

> Analog command line arguments are case sensitive. Upper case G refers to the
> default .cfg file, and it's only used as -G to tell analog to ignore the
> default .cfg file. When you tack anything onto uppercase G the argument is
> too long, and Analog ignores the end of it.
>
> You want +gc:\analog\rgraph-analog.cfg, with a lower-case g.

I don't, I want Analog to use a totally separate config file, ignoring
the default cfg file.

Thanks.

--
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------


richard at php

Oct 16, 2008, 12:34 PM

Post #6 of 6 (745 views)
Permalink
Re: Separate configuration files on Windows [In reply to]

> That would be this:
>
> analog.exe -G +gc:\analog\rgraph-analog.cfg
>
> Be careful not to put a space between the "+g" and the argument to it.

Fabulous, thank you.

--
Richard Heyes

HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.meer.net/mailman/listinfo/analog-help
|
| Analog Documentation: http://analog.cx/docs/Readme.html
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Analog help RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.