NOTE: This page has been translated automatically from Russian to English. Original page.



Technology magazine 1C v8.1 for the lazy

Article about the keys to protect http://infostart.ru/blogs/745/ showed that the 1-2 is still possible to read the page. Here, an attempt to tell about the technological log will be made.

I. Technology Magazine (hereafter TJ) allows you to record all the events of the 1C: Enterprise (or a part of using a filter), for example:
- Executable code 1C: Enterprise 8.1;
- Transact-SQL code to the database;
- Interactive user activity,

- Error messages

- A memory leak.
In case of a crash log allows you to dump memory and screen copy for transmission developers.

. II Magazine configured using logcfg.xml file in C program folder: \ Program Files \ 1cv81 \ bin \ conf
1) To successfully create log files, create directories for logs (eg C: \ Program Files \ 1cv81 \ bin \ logs) and dapmov (eg C: \ Program Files \ 1cv81 \ bin \ dumps)

2) These catalogs TJ must necessarily be set right:

- Full rights to the directory technology magazine;

- The right to read technology magazine directory owner.

Note. If you are still not written TJ, then give all the rights to this folder (temporarily, to make sure that the case of rights).

3) In the process of the magazine directory should not be extraneous files. The directory in which there are no extraneous files will create a log (log).

4) Place of storage dumps and logs are not stored together, because at the specified interval (default is 1 hour) full contents of frays and you lose dumps

. III of TJ better adjusted (using filters - logcfg.xml tags) only studied events, the rest does not collect, otherwise the words "lack of disk space" and the brake Server performance.

1) It is easier to perform filter setting with the ITS NastroykaTehnologicheskogoZhurnala.epf with treatment, but remember that the new features the latest releases in the return pipe can otstutstvavat (each new version adds new features, they are not reflected in the processing). In this case the correct file logcfg.xml hands.

2) To stop logs to gather enough to rename the file, restart the server is not necessary, configure recalculated every minute "on the fly"
3) adjust logcfg.xml to filter events for specific information security need to use "p: processName ="
4) http://users.v8.1c.ru/Adm1936.aspx - setting examples

IV. It is clear that collect logs small, they still need to be processed for a particular purpose.

1) Difficulty reading TJ:
- Requires a good understanding of the system architecture work
- The text of request are recorded on the internal language of the 1C: Enterprise and the language of the DBMS
2) technological log files are stored in subdirectories. The name of each subdirectory technological log of the process will look like: <ImyaProtsessa> _ <IdentifikatorProtsessa>, for example: rphost_4076. The log file name is specified template GGMMDDChCh.log. For example, in the journal 07051819.log file name is derived from the 2007 May 18, 19 hours)
3) to analyze the log can be downloaded in Excel using the comma-delimited example

4) 1C: PMU uses for its analysis pokazaley logs Technology magazine. When using the PCO other data collected should not remove logcfg.xml manually MCC itself will create a file with the correct settings.

5) The other log parsers from 1C not have http://partners.v8.1c.ru/forum/getfile.jsp?name=ObrabotkaTehnologiceskogoGurnala.epf
http://partners.v8.1c.ru/forum/thread.jsp?id=576266#576266

V. Possible errors and ext. information:

- Looking for logs in the directory on the server at 64 bit server other catalog programs

- Track the incomplete request; Event Technology magazine DBMSSQL displayed only at the time of the end of the query. If the request can not be executed for a long time, its execution can be interrupted, after which will be displayed in technological log events associated with it.

<The config the xmlns = "http: // v8.1c.ru/v8/tech-log ">
   <Log location = "C: \ Program Files \ 1cv81 \ logs" history = " 24">
     <Event>
      <Eq property = "Name" value = "EXCP" />
     </ Event>
     <Event>
      <Eq property = "Name" value = "SDBL" />
      <Eq property = "Func" value = "BeginTransaction" />
     </ Event>
     <Event>
      <Eq property = "Name" value = "DBMSSQL" />
      <Ge property = "Duration" value = " 30000" />
     </ Event>
     <Property name = "All" / >
   </ Log>
</ Config>

- In more detail with the use of technological features of the magazine can be found in materials partners seminar March 2 - 4, 2007, report "Diagnostic Tools system works" 1C: Enterprise 8.1 "."

- A course which teaches the subject http://www.1c.ru/news/info.jsp?id=9144

- All questions have an answer in the "C: \ Program Files \ 1cv81 \ AddDoc \ RU \ V8AddDoc81.htm", Book of "1C: Enterprise 8.1. Configuration and Administration "Chapter 21. Administration of Technology Journal

if you do not find the answer to your question, let's extend the material

1C:Enterprise Developer's Community