Skip to content

Conversation

@jseis
Copy link
Owner

@jseis jseis commented Nov 6, 2025

… log files

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Added functionality to the project setup Bash script to organize log files into server, user, and event directories. Scrubbed personal data identifying IP addresses and logged remaining file names in an inventory file.

What did you learn from the changes you have made?

Good introduction/refresher of Git processes.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Creation of the inventory.txt file could have been done with "ls -R ./data/processed > inventory.txt", which would have distinguished which files were in which subdirectory. From the wording of the assignment, I decided this was undesirable.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

No challenges.

How were these changes tested?

It was noticed that each of the log types had 50 files, excluding the IP address user files. Some lines were tested in the terminal before running through the script. The final output was checked for the completed script.
Directories were visually checked that files were included iff they were named appropriately. To confirm the number of files, the command
" ls newproject/data/processed/<log_type>_logs/ -1 | wc -l"
was run for each directory to list the files, one per line, and count the number of lines.

A reference to a related issue in your repository (if applicable)

Checklist

  • [x ] I can confirm that my changes are working as intended

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status
Part 1 - Q1
Part 1 - Q2
Part 1 - Q3
Part 1 - Q4
Part 1 - Q5
Part 1 - Q6
Part 1 - Q7
Part 1 - Q8
Part 2

Copy link

@monzchan monzchan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Assignment completed!

@jseis jseis merged commit cadd558 into main Nov 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants