Comments (3)
Hmm, so i could just set chapi.log_file
, but i assume the problem is that AMsoil/src/main.py, which is started as www-data, needs to be able to write the log file. Maybe the installer should create a directory, /var/log/chapi/, which is owned by www-data? Or you can leave it as /tmp/chapi.log in the default config file, and puppet can create that directory and change the setting. I'm fine either way, but i think that (a www-data-owned subdir of /var/log) is the right kind of solution.
Trac comment by chaos on 11-12-2013 at 11:29
from geni-ch.
Oh, actually: you probably want chapi.log and amsoil.log in the same directory, right? So either put those both in some subdirectory of /usr/share/geni-ch (currently the latter is /usr/share/geni-ch/chapi/AMsoil/log/amsoil.log, and install_ch contains a chown so that www-data can write to it), or (better, IMO), put both of them in /var/log/chapi/.
Trac comment by chaos on 11-12-2013 at 12:52
from geni-ch.
At startup, AMsoil still writes to that amsoil.log - changing that will require edits to the amsoil code.
But once CHAPI starts up, logs all go to the same file - /var/log/geni-chapi/chapi.log
Similarly, /var/apache2/error.log gets some log messages, until CHAPI starts up.
CHAPI log file location, format, and log level are all configurable with settings in chapi.ini
By default, we log at INFO.
By default, we log only a summary of each method invocation and result, but if verbose mode is on, we log the entire method call/response.
Trac comment by ahelsing on 11-28-2013 at 06:34
from geni-ch.
Related Issues (20)
- SERVICE_TYPE is not a valid string HOT 1
- utah-clab UI_AM_TYPE is ui_other_am HOT 2
- Add VCU-IG to GENI portal HOT 1
- Add ucsd-ig to Geni CH HOT 1
- Enable stitching and federation flag for hawaii-ig HOT 1
- Decommision utah-ig HOT 1
- Add vt-ig to Geni CH HOT 1
- Add osu-ig to Geni CH HOT 1
- Add princeton-ig to Geni CH HOT 1
- Add odu-ig to Geni CH HOT 1
- Move colorado-ig from experimental rack to production rack HOT 1
- Geni CH user cert expiry time invalid
- nwu-ig and umich-ig were missing stitching flags
- Slice certificates are being issued with a 10 year lifetime HOT 1
- Change private key size to 2014 bits
- Add ExtendedKeyUsage options to SSL Certificates
- Deommision Utah DDC Instageni
- Add lat-eg to Geni CH
- Add New Aggregates HOT 1
- Bug in generating new usernames HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geni-ch.