Hey Tim,
> Consider the situation where you have a mission critical system that is
up 24/7 and you need logging to always work every second of the day.
> How do you handle the situation where the stand-alone log writer app
crashes, is not running due to a machine restart, or for whatever reason
>
Keisuke,
Thanks for the background information on LOG EVENT, your details are
*always* interesting. In my case, I don't think that it has anything to do
with what I'm dealing with. I'm not talking about 4D events or 4D logs, I'm
talking about custom logs with data I'm sending out. LOG EVENT isn't
On Sep 26, 2017, at 1:43 PM, Brian Young wrote:
> Early Bird Registration is now open for the
> 2018 4D Summit.
>
> Pricing, details and registration links are
> available on the 4D event sites for each location:
>
> Paris, France • March 20th-22nd, 2018
>http://events.4d.com/summit/
>
>
documentation says:
On Macintosh, if you do not pass the optional * parameter, the size of
the data fork is returned. If you do pass the * parameter, the size of
the resource fork is returned.
this code:
r_readfile_Size:=Get document size(x_readfile_Doc_Ref)
If (<>f_Is_a_Mac) //check on resour
On Sep 26, 2017, at 9:08 AM, David Adams wrote:
>> As stupid as it sounds, another option is to push the log entries to
>> something else locally - even a stand-alone built 4D app - and let it write
>> the disk files.
>> Then you could use a service with a custom agent, like SumoLogic or
>> Splunk
There appears to be seem significant issues with 4D and large : Text,
Blobs, and Files.
After playing for way too long, I have found the following
issues/limitations when working with large files:
- Receive Packet :
-- into Text there appears to be limit of around 169megs after which
import f
On Mon, Sep 25, 2017 at 12:51 AM, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> or does it have to be converted to a picture?
>
>
>
>
No, you can use SVG file as any other picture file (say PNG.) No need to
manipulate it in 4D, though you can.
--
Peter Bozek
**
Hi Randy,
I gather you are adding one or more dynamic menus to the menu bar created in
the Menu Editor. In that case, you need to work with references, not a
positional integer.
The positional index works only for menus created in the Menu Editor.
Try this, which assumes no hierarchical menus:
Early Bird Registration is now open for the
2018 4D Summit.
Pricing, details and registration links are
available on the 4D event sites for each location:
Paris, France • March 20th-22nd, 2018
http://events.4d.com/summit/
Washington, D.C., USA • April 3rd-5th, 2018
http://events.4d.
Hi Jeremy,
Thanks for the input.
However, it doesn’t work completely.
Although you can get a list of menus in the menu bar (GET MENU ITEMS), this
doesn’t work when you pass the menu ref for one of the menus.
In this case, GET MENU ITEMS returns empty arrays
Has anyone else come across this?
php 7.1.7
Doesn’t look like Apache is installed on my system.
I’ve been testing High Sierra at work for awhile since we have some very early
adopters, and 4D 15/16 and ecosystem all seem fine.
Jeff
> On Sep 25, 2017, at 10:09 PM, Perkins, Bradley D via 4D_Tech
> <4d_tech@lists.4d.com> wrote
php is v7.1.7
Apache is v2.5.7
> On Sep 25, 2017, at 8:09 PM, Perkins, Bradley D via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> If anyone has installed the just released version of Mac OS High Sierra can
> you confirm which versions of Apache and PHP are installed?
>
> $ http -v
> $ php -v
Mon, 25 Sep 2017, Arnaud de Montard said:
> Use unbreakable space instead, it works (alt+space with keyboard, char code =
> 0x00A0 / 160).
I have tried and tried this without success.
Forgetting about number format, even a text field (horizontal alignment =
right) will not display trailing spa
David,
Thanks for posting the LogWorker code, it has been fun experimenting with it.
I have been testing only the preemptive test code.
Running on a Mac Pro (Late 2013) with 6-Core Intel Xeon E5 , Mac OS X 10.12.6
4D 16.1 hotfix 2 , 64 bit app. ( Not server )
Yes, there is a bug in the code.
Me
sometimes you will see a kind of "comment" line in the request log,
in particular "TTF" or time to forget,
which describes a change of state in the process:
a: automatic relation
b: record stack
c: current record
d: current selection
e: transaction
these are not real "requests",
in that the infor
Chip's right about server-side code not needing network bandwidth. I was
jumbling a few of my stories unclearly. Yes, we're starting with
server-side only process getting logged, but that will change. Once you
want to keep error, access, and event logs and tie them together, it's nice
to be able to
Hi Rudy,
Take a look at the commands in the “Menus” theme:
http://doc.4d.com/4Dv16R3/4D/16-R3/Menus.201-3217435.en.html
Then in the Application Environment, activate the menu bar you are interested
in and loop through the menus and menu items like this:
For ($menu_i;1;Count menus)
I have been looking through the documentation and on this list, and there seems
to be no way to programatically produce a list of all the menu’s (defined in
the design environment) and their menu items.
Am I overlooking something? Can it even be done?
Met vriendelijke groeten,
Rudy Mortier
Tw
well, Begin SQL/End SQL is not thread safe either so that's not going to help.
but back to the original point:
LOG EVENT has many modes, is there a particular type of log that you wish were
thread safe?
because, technically, you could just call a command with arguments and that
would be record
doesn't have to be that way; you can have a local external database on the
client side.
http://doc.4d.com/4Dv15/4D/15/USE-DATABASE.300-2288124.en.html
but I am slightly puzzled how LOG EVENT is in the spotlight.
preemptively logging can make things more complicated,
look at 4DRequestsLog.txt / 4D
so, if this is a logging issue, will not most/all events requiring logging pass
through the server?
so logging would not/should not take network bandwidth -
log from trigger, log from stored methods, log from 'execute on server'
>>
>>
>> Thanks for the explanation. Your second point (no reason
you should use BLOB instead of TEXT with RECEIVE PACKET, with a stop char or
max size, which you like.
just remember to clear the BLOB every iteration and save as you go.
don't use arrays (defeats the purpose of chunking),
don't use text (bloats the size and adds overhead for decoding).
> 2017/0
On Tue, Sep 26, 2017 at 10:38 AM, Jeremy Roussak via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> David,
>
> Thanks for the explanation. Your second point (no reason to have the data
> in 4D) strikes me as more theological than practical,
Depends on your situation. I nearly killed a system once from
David,
Thanks for the explanation. Your second point (no reason to have the data in
4D) strikes me as more theological than practical, but the rest are certainly
excellent reasons. I wasn’t aware that 4D didn’t cope well with thrashing
tables, so that’s something I’ll bear in mind in future.
L
> As stupid as it sounds, another option is to push the log entries to
something else locally - even a stand-alone built 4D app - and let it write
the disk files.
> Then you could use a service with a custom agent, like SumoLogic or
Splunk. Actually, that's not a terrible idea at all...who cares i
I just dragged an xmlns.svg file on a form as a background picture,
displayed the form and re-sized it. It scaled perfectly.
Then I created a picture button on the form, selected 'file' as the source,
and dragged an xmlns.svg file onto the button.It also scaled perfectly.
Jim
--
Jim Dorrance
jim
26 matches
Mail list logo